forked from CGM_Public/pretix_original
Show tax column in invoices if reverse charge is active
This commit is contained in:
@@ -510,7 +510,7 @@ class ClassicInvoiceRenderer(BaseReportlabInvoiceRenderer):
|
|||||||
return story
|
return story
|
||||||
|
|
||||||
def _get_story(self, doc):
|
def _get_story(self, doc):
|
||||||
has_taxes = any(il.tax_value for il in self.invoice.lines.all())
|
has_taxes = any(il.tax_value for il in self.invoice.lines.all()) or self.invoice.reverse_charge
|
||||||
|
|
||||||
story = [
|
story = [
|
||||||
NextPageTemplate('FirstPage'),
|
NextPageTemplate('FirstPage'),
|
||||||
|
|||||||
Reference in New Issue
Block a user