Logo weiter nach oben rechts verschoben (x=155, y=8)
This commit is contained in:
2
app.py
2
app.py
@@ -273,7 +273,7 @@ def invoice_pdf():
|
|||||||
logo_name = config.get('logo', '')
|
logo_name = config.get('logo', '')
|
||||||
logo_path = os.path.join('static', logo_name) if logo_name else ''
|
logo_path = os.path.join('static', logo_name) if logo_name else ''
|
||||||
if logo_name and os.path.exists(logo_path):
|
if logo_name and os.path.exists(logo_path):
|
||||||
pdf.image(logo_path, x=145, y=10, w=40)
|
pdf.image(logo_path, x=155, y=8, w=40)
|
||||||
else:
|
else:
|
||||||
pdf.set_font("Arial", "B", 18)
|
pdf.set_font("Arial", "B", 18)
|
||||||
pdf.set_xy(150, 15)
|
pdf.set_xy(150, 15)
|
||||||
|
|||||||
Reference in New Issue
Block a user