Add format helper for currency
This commit is contained in:
parent
5408c08b58
commit
6cc02cb563
7 changed files with 21 additions and 9 deletions
|
|
@ -36,7 +36,7 @@
|
|||
%td= format_date(ft.created_on)
|
||||
%td= ft.ordergroup.name
|
||||
%td= ft.note
|
||||
%td.numeric{:style => "color:#{ft.amount < 0 ? 'red' : 'black'}"}= number_to_currency(ft.amount)
|
||||
%td.numeric= format_currency ft.amount
|
||||
.span6
|
||||
%h2
|
||||
= t('.open_transactions')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue