feat: add SEPA direct debit exports and notifications

This commit is contained in:
Marcel Peterkau
2026-07-30 01:00:32 +02:00
parent f4c8ae4f35
commit 3d3b845d9f
8 changed files with 984 additions and 0 deletions
+11
View File
@@ -14,6 +14,7 @@ from ccma.ui.dialogs import EditAssetDialog, IssueAssetDialog, NewAssetDialog, N
from ccma.ui.icons import IconStore
from ccma.ui.member_tab import MemberTab
from ccma.ui.options_dialog import OptionsDialog
from ccma.ui.sepa_dialog import SepaExportDialog
from ccma.ui.theme import load_theme
from ccma.ui.work_tabs import AssetsTab, DashboardTab, HousekeeperTab, MembersTab, SearchResultsTab
@@ -187,6 +188,13 @@ class MainWindow(ttk.Frame):
)
assets_button.image = assets_icon
assets_button.pack(side="left", padx=(0, 6))
sepa_icon = self.icons.get("bank-transfer", 24) or self.icons.get("bank", 24)
sepa_button = ttk.Button(
actions, text="SEPA", image=sepa_icon, compound="top", width=14,
command=self.open_sepa_export,
)
sepa_button.image = sepa_icon
sepa_button.pack(side="left", padx=(0, 6))
new_icon = self.icons.get("account-plus", 24)
new_button = ttk.Button(
actions,
@@ -403,6 +411,9 @@ class MainWindow(ttk.Frame):
icon_name="key-variant",
)
def open_sepa_export(self) -> None:
SepaExportDialog(self, self.repository)
def new_member(self) -> None:
NewMemberDialog(self, self.repository, self._member_created)