Rename invoices.var_prc to vat_rate

#623
This commit is contained in:
Artur Beljajev 2018-02-28 08:46:36 +02:00
parent f86ab085ac
commit 7dee10c683
13 changed files with 29 additions and 13 deletions

View file

@ -24,7 +24,7 @@
%td= currency(@invoice.sum_without_vat)
%tr
%th.no-border{colspan: 3}
%th= t('vat', vat_prc: (@invoice.vat_prc * 100).round)
%th= t('vat', rate: (@invoice.vat_rate * 100).round)
%td= currency(@invoice.vat)
%tr
%th.no-border{colspan: 3}

View file

@ -242,7 +242,7 @@
%td= "#{currency(@invoice.sum_without_vat)} #{@invoice.currency}"
%tr
%th.no-border{colspan: 3}
%th= t('vat', vat_prc: (@invoice.vat_prc * 100).round)
%th= t('vat', rate: (@invoice.vat_rate * 100).round)
%td= "#{currency(@invoice.vat)} #{@invoice.currency}"
%tr
%th.no-border{colspan: 3}