forked from CGM_Public/pretix_original
Invoice: fix issuer details rendering when address missing (#6139)
This commit is contained in:
@@ -1160,7 +1160,7 @@ class Modern1Renderer(ClassicInvoiceRenderer):
|
|||||||
return stylesheet
|
return stylesheet
|
||||||
|
|
||||||
def _draw_invoice_from(self, canvas):
|
def _draw_invoice_from(self, canvas):
|
||||||
if not self.invoice.invoice_from:
|
if not self.invoice.address_invoice_from:
|
||||||
return
|
return
|
||||||
c = [
|
c = [
|
||||||
self._clean_text(l)
|
self._clean_text(l)
|
||||||
|
|||||||
Reference in New Issue
Block a user