diff --git a/app/views/shared/_value_heading.html.erb b/app/views/shared/_value_heading.html.erb index 21cd1a6d..fcdf384d 100644 --- a/app/views/shared/_value_heading.html.erb +++ b/app/views/shared/_value_heading.html.erb @@ -3,13 +3,7 @@
<%= label %>
<% if value.is_a?(Money) %> - <%= value.currency.symbol %> - font-medium"><%= format_money_without_symbol value, precision: 0 %> - <%- if value.currency.default_precision.positive? -%> - - <%= value.currency.separator %><%= value.cents_str %> - - <% end %> + font-medium"><%= format_money value %> <% else %> font-medium"><%= is_percentage ? number_to_percentage(value, precision: 2) : value %> <% end %>