Use standard translation

#623
This commit is contained in:
Artur Beljajev 2018-03-13 11:45:04 +02:00
parent beba81bc6d
commit a2c919b0fd
3 changed files with 4 additions and 6 deletions

View file

@ -20,11 +20,11 @@
%tfoot
%tr
%th{colspan: 3}
%th= t(:total_without_vat)
%th= Invoice.human_attribute_name :subtotal
%td= currency(@invoice.subtotal)
%tr
%th.no-border{colspan: 3}
%th= t('vat', rate: vat_rate(@invoice.vat_rate))
%th= "VAT #{vat_rate(@invoice.vat_rate)}"
%td= currency(@invoice.vat)
%tr
%th.no-border{colspan: 3}

View file

@ -238,11 +238,11 @@
%tfoot
%tr
%th{colspan: 3}
%th= t(:total_without_vat)
%th= Invoice.human_attribute_name :subtotal
%td= "#{currency(@invoice.subtotal)} #{@invoice.currency}"
%tr
%th.no-border{colspan: 3}
%th= t('vat', rate: vat_rate(@invoice.vat_rate))
%th= "VAT #{vat_rate(@invoice.vat_rate)}"
%td= "#{currency(@invoice.vat)} #{@invoice.currency}"
%tr
%th.no-border{colspan: 3}