diff --git a/app.py b/app.py index 6d45723..3b76881 100644 --- a/app.py +++ b/app.py @@ -316,14 +316,12 @@ def invoice_pdf(): if firmen_adresse: pdf.set_x(right_x) pdf.cell(col_w, 3.5, firmen_adresse, ln=True, align='R') - contact_parts = [] if telefon: - contact_parts.append(f"Tel: {telefon}") - if email: - contact_parts.append(f"Mail: {email}") - if contact_parts: pdf.set_x(right_x) - pdf.cell(col_w, 3.5, " | ".join(contact_parts), ln=True, align='R') + pdf.cell(col_w, 3.5, f"Tel: {telefon}", ln=True, align='R') + if email: + pdf.set_x(right_x) + pdf.cell(col_w, 3.5, email, ln=True, align='R') right_bottom = pdf.get_y() # --- Rechnungsdaten & Empfaenger (links, unterhalb der rechten Spalte) ---