forked from CGM_Public/pretix_original
Fix invoice logos with transparency
This commit is contained in:
@@ -261,7 +261,8 @@ def _invoice_generate_german(invoice, f):
|
|||||||
canvas.drawImage(ImageReader(logo_file),
|
canvas.drawImage(ImageReader(logo_file),
|
||||||
95 * mm, (297 - 38) * mm,
|
95 * mm, (297 - 38) * mm,
|
||||||
width=25 * mm, height=25 * mm,
|
width=25 * mm, height=25 * mm,
|
||||||
preserveAspectRatio=True, anchor='n')
|
preserveAspectRatio=True, anchor='n',
|
||||||
|
mask='auto')
|
||||||
|
|
||||||
if invoice.event.settings.show_date_to:
|
if invoice.event.settings.show_date_to:
|
||||||
p_str = (
|
p_str = (
|
||||||
|
|||||||
Reference in New Issue
Block a user