diff --git a/go/svc/invoice/render.go b/go/svc/invoice/render.go index 47c6c6d8..a433fa84 100644 --- a/go/svc/invoice/render.go +++ b/go/svc/invoice/render.go @@ -72,7 +72,10 @@ func renderInvoicePDF(i *pb.Invoice, number string, proforma bool) ([]byte, erro InvoiceeBilling: make([]string, len(i.CustomerBilling)), } - unit := "€" + unit := i.Unit + if unit == "" { + unit = "€" + } for d, s := range i.InvoicerBilling { data.InvoicerBilling[d] = s diff --git a/go/svc/invoice/templates/invoice.html b/go/svc/invoice/templates/invoice.html index e257a421..6bf2947e 100644 --- a/go/svc/invoice/templates/invoice.html +++ b/go/svc/invoice/templates/invoice.html @@ -105,16 +105,16 @@ div.bgtext div { {{ end }} {{ end }} {{ if .InvoicerCompanyNumber }} -