feat(manager): expenses, the supplier book and tabs on v2 (platform-v2 step 6.13a)

- Finance -> Expenses: still owed, late, filters, new/edit (supplier picked or added there), pay in parts, details with payments, delete
- CRM -> Contacts: the supplier book with what each one is owed
- Finance -> Tabs: open (who owes most first) / settled, charges and payments, pay (cash/card/other), close, forgive
- backend: expenses.manage / tabs.manage (the list also reports.view, a customer's tabs also crm.manage, put-on-tab needs tabs.manage);
  payment <= due (expense.over_due), total >= paid (expense.below_paid), categories/kinds/methods checked, null clears a field;
  live events expenses.changed / tabs.changed; GET /api/expenses ?from=&to= venue dates (the report uses it); tab_status=settled
- fix: an expense with a due date failed to save (naive date refused by D-11)
- @xenia/i18n/number subpath; tests: test_finance.py (6), finance.test.mjs (5), e2e manager.mjs finance flow

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 12:54:21 +02:00
co-authored by Claude Opus 5.5
parent 6bdf0bdd79
commit 93c0dd7d9c
32 changed files with 1667 additions and 1153 deletions
+3 -1
View File
@@ -238,7 +238,9 @@
"not_found": "Η επαφή δεν βρέθηκε."
},
"expense": {
"not_found": "Το έξοδο δεν βρέθηκε."
"not_found": "Το έξοδο δεν βρέθηκε.",
"over_due": "Είναι περισσότερα από όσα οφείλονται ακόμα ({{due}}).",
"below_paid": "Έχουν ήδη πληρωθεί {{paid}}: το σύνολο δεν μπορεί να είναι λιγότερο."
},
"flag": {
"not_found": "Η σήμανση δεν βρέθηκε.",