Bläddra i källkod

Do not render Items heading when not present

master
Peter Hatina 2 år sedan
förälder
incheckning
b0d6bb3e3e
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. +2
    -1
      templates/invoice.tex

+ 2
- 1
templates/invoice.tex Visa fil

@@ -171,11 +171,12 @@ SWIFT/BIC: & \multicolumn{1}{l|}{ {{issuer.swift}} } & \multicolumn{2}{l}{\Deliv
&&& \\ &&& \\


% ITEM(s) HEADING % ITEM(s) HEADING
{{if invoice.itemheading}}
{{for heading in invoice.itemheading}} {{for heading in invoice.itemheading}}
\multicolumn{4}{l}{ {{heading}} } \\ \multicolumn{4}{l}{ {{heading}} } \\
{{endfor}} {{endfor}}

&&& \\ &&& \\
{{endif}}


% ITEMS % ITEMS
\multicolumn{4}{X}{% \multicolumn{4}{X}{%


Laddar…
Avbryt
Spara