docs+chore: everyNMonths is n-generic too; stop the demo double-charging Rent

PRODUCT.md described recurring costs as repeating "monthly, every N days,
or every N weeks", understating everyNMonths, which supports an interval
like the other two kinds.

demo-data.ts gave "Rent" both an ordinary monthly purchase and a
never-confirmed recurring cost from 2026-06 onward, so the demo's Rent
Projected read as double-charged for June through September. The ordinary
purchase now stops once the recurring cost exists.
This commit is contained in:
Lucas Winther committed 2026-09-04 07:58:09 +02:00
1 parent 08abe64b55
commit 405cf0bf2d
2 files changed
+8 -3

No files matched your search

+2 -2
View File
@@ -67,8 +67,8 @@ Confirmed and in place:
browser.
- Offline-capable installable PWA. Currently deploys as one static artifact to
both GitHub Pages (under a subpath) and a self-hosted Docker image.
- Recurring costs — a bill that repeats monthly, every N days, or every N
weeks on a weekday, split across posts like any purchase. Each due date is a
- Recurring costs — a bill that repeats every N months, every N days, or
every N weeks on a weekday, split across posts like any purchase. Each due date is a
projected occurrence the owner confirms into a real purchase; the month view
shows what is still expected alongside a second, projected balance per post,
so a known bill is visible before it is paid without touching the reconciled