Merge pull request #55 from baragoon/dev

feat: add income categories to budget management
This commit is contained in:
ulsklyc
2026-04-19 13:07:46 +02:00
committed by GitHub
17 changed files with 119 additions and 5 deletions
+8 -1
View File
@@ -63,11 +63,18 @@ function generateRecurringInstances(database, month) {
}
}
const VALID_CATEGORIES = [
const EXPENSE_CATEGORIES = [
'Lebensmittel', 'Miete', 'Versicherung', 'Mobilität',
'Freizeit', 'Kleidung', 'Gesundheit', 'Bildung', 'Sonstiges',
];
const INCOME_CATEGORIES = [
'Erwerbseinkommen', 'Kapitalerträge', 'Geschenke & Transfers',
'Sozialleistungen', 'Sonstiges Einkommen',
];
const VALID_CATEGORIES = [...EXPENSE_CATEGORIES, ...INCOME_CATEGORIES];
// --------------------------------------------------------
// Statische Routen vor /:id
// --------------------------------------------------------