From b0d6bb3e3e685f7a83a3099a6278b8764fc64ebb Mon Sep 17 00:00:00 2001 From: Peter Hatina Date: Mon, 16 Apr 2018 21:31:50 +0200 Subject: [PATCH] Do not render Items heading when not present --- templates/invoice.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/invoice.tex b/templates/invoice.tex index 7b22f35..f3eec0b 100644 --- a/templates/invoice.tex +++ b/templates/invoice.tex @@ -171,11 +171,12 @@ SWIFT/BIC: & \multicolumn{1}{l|}{ {{issuer.swift}} } & \multicolumn{2}{l}{\Deliv &&& \\ % ITEM(s) HEADING +{{if invoice.itemheading}} {{for heading in invoice.itemheading}} \multicolumn{4}{l}{ {{heading}} } \\ {{endfor}} - &&& \\ +{{endif}} % ITEMS \multicolumn{4}{X}{%