diff --git a/bgpwtf/invoice/render.go b/bgpwtf/invoice/render.go index c0eeca11..db5c1514 100644 --- a/bgpwtf/invoice/render.go +++ b/bgpwtf/invoice/render.go @@ -53,7 +53,11 @@ func renderInvoicePDF(i *pb.Invoice, language string) ([]byte, error) { if len(parts) > 0 { symbols = strings.Join(parts, ", ") + "." } else { - symbols = "brak." + if language == "en" { + symbols = "brak (none)." + } else { + symbols = "brak." + } } data := struct { diff --git a/bgpwtf/invoice/templates/invoice_en.html b/bgpwtf/invoice/templates/invoice_en.html index 976dbdfe..d4aa3fc7 100644 --- a/bgpwtf/invoice/templates/invoice_en.html +++ b/bgpwtf/invoice/templates/invoice_en.html @@ -143,21 +143,21 @@ div.symbols { {{ end }} {{ end }} {{ if .USCustomer }} -
  • EIN: {{ .InvoiceeVAT }}
  • -
  • (VAT zero rate)
  • +
  • {{ .InvoiceeVAT }}
  • +
  • VAT NP (zero rate)
  • {{ else if .InvoiceeVAT }}
  • NIP: {{ .InvoiceeVAT }}
  • {{ end }} {{ if .ReverseVAT }} -
  • (reverse charge / obciążenie odwrotne)
  • +
  • Obciążenie odwrotne (reverse charge)
  • {{ end }}
    - Oznaczenia: {{ .Symbols }} + Oznaczenia (JPK symbols): {{ .Symbols }}
    @@ -201,8 +201,5 @@ div.symbols {
    {{ .Total }}
    -