tpl/invoice.slim in polish_invoicer-0.0.15 vs tpl/invoice.slim in polish_invoicer-0.0.16
- old
+ new
@@ -28,10 +28,10 @@
.col-xs-6
h4 Nabywca
- buyer.each do |line|
= line
br
- - if buyer_nip
+ - if buyer_nip.to_s.strip != ''
= "NIP: #{buyer_nip}"
- if recipient.any?
h4 Odbiorca
- recipient.each do |line|
= line