feat: add income categories to budget management

This commit is contained in:
Serhiy Bobrov
2026-04-19 09:15:29 +03:00
parent 6746a5a175
commit 7910636ffa
17 changed files with 115 additions and 6 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
// --------------------------------------------------------