Compare commits

...

1 Commits

Author SHA1 Message Date
Mira
784b588aa8 Only display tax rates with non-zero gross amount 2025-01-17 15:24:09 +01:00

View File

@@ -775,6 +775,8 @@ class ClassicInvoiceRenderer(BaseReportlabInvoiceRenderer):
for idx, gross in grossvalue_map.items():
rate, name = idx
if rate == 0 and gross == 0:
continue
tax = taxvalue_map[idx]
tdata.append([
Paragraph(self._normalize(localize(rate) + " % " + name), self.stylesheet['Fineprint']),