From f50a78880685d20a7987b6a48ec7a2e5d3fe12b4 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 27 Apr 2017 15:28:55 +0300 Subject: [PATCH] Use default money formatter for billing price #475 --- app/views/admin/billing/prices/_price.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/billing/prices/_price.html.erb b/app/views/admin/billing/prices/_price.html.erb index 50837bbe8..df5de4391 100644 --- a/app/views/admin/billing/prices/_price.html.erb +++ b/app/views/admin/billing/prices/_price.html.erb @@ -2,7 +2,7 @@ <%= price.zone_name %> <%= price.duration.sub('mons', 'months') %> <%= price.operation_category %> - <%= currency(price.price) %> + <%= number_to_currency price.price %> <%= l price.valid_from, format: :date %> <%= l price.valid_to, format: :date %>