commit | de3d3fa64123af377ec91cb3d0566dd598a7c5fa | [log] [tgz] |
---|---|---|
author | Sergiusz Bazanski <q3k@hackerspace.pl> | Sun May 31 00:12:11 2020 +0200 |
committer | Sergiusz Bazanski <q3k@hackerspace.pl> | Sun May 31 00:12:11 2020 +0200 |
tree | f3ae8488f52acb6fd8b01d74e2a43dc263f1cd2e | |
parent | e55493f6358b334d218bc870ee233d92991bb9e8 [diff] |
bgpwtf/invoice: hide invoicee VAT number when not given Also re-add go-bindata to WORKSPACE, something nuked it. Change-Id: I723ebee7f843d0135a3e1121e2e93ae5fe56bc4b
diff --git a/bgpwtf/invoice/templates/invoice_en.html b/bgpwtf/invoice/templates/invoice_en.html index d661732..6a92022 100644 --- a/bgpwtf/invoice/templates/invoice_en.html +++ b/bgpwtf/invoice/templates/invoice_en.html
@@ -142,7 +142,7 @@ {{ if .USCustomer }} <li>EIN: {{ .InvoiceeVAT }}</li> <li><b>(VAT zero rate)</b></li> - {{ else }} + {{ else if .InvoiceeVAT }} <li><b>NIP:</b> {{ .InvoiceeVAT }}</li> {{ end }}
diff --git a/bgpwtf/invoice/templates/invoice_pl.html b/bgpwtf/invoice/templates/invoice_pl.html index df49da8..15f5d08 100644 --- a/bgpwtf/invoice/templates/invoice_pl.html +++ b/bgpwtf/invoice/templates/invoice_pl.html
@@ -143,7 +143,7 @@ {{ if .USCustomer }} <li>EIN: {{ .InvoiceeVAT }}</li> <li><b>(VAT zero rate)</b></li> - {{ else }} + {{ else if .InvoiceeVAT }} <li><b>NIP:</b> {{ .InvoiceeVAT }}</li> {{ end }}