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 }} -
{{ .Total }} |