feat: add Buchhaltung module with fiscal years, budget accounts, transactions, and approval workflow

This commit is contained in:
Matthias Hochmeister
2026-03-28 19:48:32 +01:00
parent 4349de9bc9
commit 18b1300de8
14 changed files with 2791 additions and 1 deletions

View File

@@ -118,6 +118,11 @@ const PERMISSION_SUB_GROUPS: Record<string, Record<string, string[]>> = {
'Verwaltung': ['manage_templates'],
'Widget': ['widget'],
},
buchhaltung: {
'Ansicht': ['view', 'widget'],
'Transaktionen': ['create', 'edit', 'delete', 'export'],
'Verwaltung': ['manage_accounts', 'manage_settings'],
},
admin: {
'Allgemein': ['view', 'write'],
'Services': ['view_services', 'edit_services'],

View File

@@ -30,6 +30,7 @@ import {
BookOnline,
Forum,
AssignmentTurnedIn,
AccountBalance as AccountBalanceIcon,
} from '@mui/icons-material';
import { useNavigate, useLocation } from 'react-router-dom';
import { useQuery } from '@tanstack/react-query';
@@ -143,6 +144,17 @@ const baseNavigationItems: NavigationItem[] = [
path: '/checklisten',
permission: 'checklisten:view',
},
{
text: 'Buchhaltung',
icon: <AccountBalanceIcon />,
path: '/buchhaltung',
subItems: [
{ text: 'Übersicht', path: '/buchhaltung?tab=0' },
{ text: 'Transaktionen', path: '/buchhaltung?tab=1' },
{ text: 'Konten', path: '/buchhaltung?tab=2' },
],
permission: 'buchhaltung:view',
},
{
text: 'Issues',
icon: <BugReport />,