From 9eb3346a257007637b8cd5733a7f35a8440c4d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20D=C3=BCster?= Date: Fri, 17 May 2024 07:29:04 +0200 Subject: [PATCH] fixup! Add owner column to BankAccount --- web/blueprints/finance/__init__.py | 1 + web/blueprints/finance/forms.py | 1 + 2 files changed, 2 insertions(+) diff --git a/web/blueprints/finance/__init__.py b/web/blueprints/finance/__init__.py index 38ecf81e8..9e5e320c8 100644 --- a/web/blueprints/finance/__init__.py +++ b/web/blueprints/finance/__init__.py @@ -451,6 +451,7 @@ def bank_accounts_create() -> ResponseReturnValue: new_bank_account = BankAccount( name=form.name.data, bank=form.bank.data, + owner=form.owner.data, account_number=form.account_number.data, routing_number=form.routing_number.data, iban=form.iban.data, diff --git a/web/blueprints/finance/forms.py b/web/blueprints/finance/forms.py index a6ff1e68b..039725832 100644 --- a/web/blueprints/finance/forms.py +++ b/web/blueprints/finance/forms.py @@ -78,6 +78,7 @@ class MembershipFeeEditForm(MembershipFeeCreateForm): class BankAccountCreateForm(Form): name = TextField("Name") bank = TextField("Bank") + owner = TextField("Kontoinhaber") account_number = TextField("Kontonummer") routing_number = TextField("Bankleitzahl (BLZ)") iban = TextField("IBAN")