From e96ef4c5a35bc9e575bc3419fb318a3ee9df1bd6 Mon Sep 17 00:00:00 2001 From: Luca <102960244+Luca-Timo@users.noreply.github.com> Date: Mon, 29 Jun 2026 18:55:36 +0200 Subject: [PATCH] fix(invoices): add bank transfer to the mark-paid method list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mark-paid dialog offered Cash / Card / PayPal / TWINT but not bank transfer — the default method for the QR-bill / IBAN invoices picpeak issues (createInvoice even falls back to 'bank_transfer'). Added it as the first option. Backend already accepts paymentMethod as a free string, so no API change; i18n bills.payment.methods.bankTransfer (de "Überweisung"). --- frontend/src/i18n/locales/de.json | 1 + frontend/src/i18n/locales/en.json | 1 + frontend/src/pages/admin/bills/BillDetailPage.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/frontend/src/i18n/locales/de.json b/frontend/src/i18n/locales/de.json index dc4f4549..0a91dd84 100644 --- a/frontend/src/i18n/locales/de.json +++ b/frontend/src/i18n/locales/de.json @@ -4801,6 +4801,7 @@ "notes": "Notizen", "methodPlaceholder": "Methode wählen…", "methods": { + "bankTransfer": "Überweisung", "card": "Karte", "cash": "Bar", "paypal": "PayPal", diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index 99ba2526..95422e5c 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -4789,6 +4789,7 @@ "notes": "Notes", "methodPlaceholder": "Select method…", "methods": { + "bankTransfer": "Bank transfer", "card": "Card", "cash": "Cash", "paypal": "PayPal", diff --git a/frontend/src/pages/admin/bills/BillDetailPage.tsx b/frontend/src/pages/admin/bills/BillDetailPage.tsx index 252e4d41..24305457 100644 --- a/frontend/src/pages/admin/bills/BillDetailPage.tsx +++ b/frontend/src/pages/admin/bills/BillDetailPage.tsx @@ -526,6 +526,7 @@ export const BillDetailPage: React.FC = () => { className="w-full px-3 py-2 rounded-md border border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-800 text-sm focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-accent-dark" > +