tpl/invoice.slim in polish_invoicer-0.0.20 vs tpl/invoice.slim in polish_invoicer-0.0.21
- old
+ new
@@ -100,10 +100,13 @@
b Razem do zapłaty:
br
| Zapłacono:
br
| Zostało do zapłaty:
+ - if currency != 'PLN'
+ br
+ | Kurs waluty:
.col-xs-3
b = "#{gross_value} #{currency}"
br
- if paid
= "#{gross_value} #{currency}"
@@ -112,9 +115,12 @@
br
- if paid
= "0,00 #{currency}"
- else
= "#{gross_value} #{currency}"
+ - if currency != 'PLN'
+ br
+ = exchange_rate
- if comments.any?
.col-xs-6
b Uwagi:
br
- comments.each do |line|