mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:21:10 +02:00
Adds the missing bits that turn M1–M6 into a coherent shippable product rather than a pile of commits. Dashboard widget (M7) - InvoicesOpenWidget.svelte: open + overdue totals in the primary currency, top-3 oldest overdue with "X Tage überfällig" under each, empty-state CTA for first-time users - Registered as `invoices-open` in WIDGET_REGISTRY and the component map. Default size medium, no requiredBackend (local-first, no API) - Fixed pre-existing test gap: validBackends list was missing 'body' (body-stats widget has been failing silently) — added so the check protects against drift for real Tests (45 total, all green) - totals.test.ts (9): computeLineTotal with discount+vat, grouping invariant (breakdown sums == invoice totals), rounding edges - pdf/qr-bill.test.ts (17): generateSCORReference stability + spec-validity via swissqrbill's own isSCORReferenceValid, buildQRBillData eligibility gates (currency, IBAN, address, amount), CH + DE address parser paths, referenceNumber-preferred-over-regen invariant - mail-template.test.ts (12): subject/body composition (with/without subject, CHF vs EUR QR-hint, empty recipient fallback), mailto spaces-as-%20 patch, looksLikeEmail edge cases Plan (docs/plans/invoices-module.md) - Updated with commit SHAs per milestone, testing status, and the explicit list of open items (Logo-Upload, AI-Tools, sync collision, structured addresses, finance cross-link, camt bankabgleich) so the next coder knows exactly what's parked where Unresolved: browser smoke test couldn't run — SSR is broken for all module routes in the current tree (pre-existing, likely from the parallel Spaces refactor; /library, /todo, /contacts all return 500 the same way). Unit tests + clean bundle build (M4) + type-check are the coverage we have. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| calc/packages/shared | ||
| calendar | ||
| cards | ||
| chat | ||
| citycorners | ||
| contacts | ||
| context | ||
| docs | ||
| food | ||
| guides | ||
| inventory | ||
| mana | ||
| manavoxel | ||
| memoro | ||
| moodlit | ||
| mukke | ||
| news | ||
| photos | ||
| picture | ||
| plants | ||
| presi | ||
| questions | ||
| quotes/packages/content | ||
| skilltree | ||
| storage | ||
| times | ||
| todo | ||
| traces | ||
| uload | ||