feat: Abos & Vertraege – was regelmaessig abgeht, an einer Stelle

Netflix, Handyvertrag, Krankenkasse, Halbtax. Bisher sah man sie nur als
einzelne Buchungen im Auszug; die Frage "welche Abos habe ich eigentlich, und
was kosten die zusammen im Monat" liess sich nicht beantworten. Genau die
steht jetzt oben auf der Seite.

Der Bereich heisst "Abos & Vertraege", nicht "Abos": Ein Handyvertrag ist kein
Abo und die Versicherung erst recht nicht – niemand soll ueberlegen muessen,
wo sie hingehoert.

Der Monatswert wird gerechnet, nicht gespeichert (Betrag durch Intervall).
Gespeichert veraltete er beim naechsten Preisaufschlag stillschweigend.

Bei laengerem Intervall klappt "Ich lege monatlich zurueck auf" auf, mit dem
gerechneten Monatsbetrag daneben. Bei monatlicher Abrechnung gibt es nichts
anzusparen, also steht es da auch nicht.

DAZU: Waehrungen sind offen.

Die Rechen-Maschinerie konnte immer schon beliebige Waehrungen – sie rechnet
ueber den Euro als Drehpunkt. Beschraenkt haben es zwei Konstanten: eine
Erlaubnisliste mit EUR und CHF, und ein Filter, der aus dem EZB-Feed alles
ausser CHF wegwarf, obwohl er dreissig Waehrungen liefert.

Massgeblich ist jetzt die Liste der EZB. Frei erfundene Waehrungen bleiben
draussen, und das ist kein Geiz: Ohne Kurs liesse sich der Betrag nie
umrechnen – er stuende in keiner Summe und in keinem Budget, und das faellt
erst spaet auf. Ein Vertrag in einer Waehrung ohne Kurs wird deshalb genannt,
statt die Summe stillschweigend zu klein anzuzeigen.

Erkannt und gebucht wird noch nichts; der Erkennungstext wird nur erfasst.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Scarriffle
2026-09-07 15:45:59 +02:00
co-authored by Claude Opus 5
parent ff621984dc
commit f99be47587
18 changed files with 1297 additions and 10 deletions
+47 -1
View File
@@ -23,7 +23,8 @@
"system": "System",
"users": "Users",
"settings": "Settings",
"todo": "To do"
"todo": "To do",
"abos": "Subscriptions"
},
"login": {
"subtitle": "Please sign in",
@@ -320,6 +321,51 @@
"incomeCategory": "Category",
"targetAccount": "Target account"
},
"abos": {
"title": "Subscriptions & contracts",
"new": "New contract",
"edit": "Edit contract",
"delete": "Delete",
"deleteConfirm": "Really delete “{{name}}”? The contract and its details are gone. If it merely ended, mark it cancelled instead — then it stays for reference.",
"monthlyTotal": "Per month",
"yearlyTotal": "Per year",
"activeCount": "Active contracts",
"dueSoon": "Due soon",
"all": "All contracts",
"cancelled": "Cancelled",
"cancelledHint": "No longer counted in the total. They stay so you can look back at what you had.",
"empty": "No contracts yet. Add what goes out regularly — streaming, phone, insurance, travel pass.",
"noRate": "No exchange rate for {{waehrungen}}. Those contracts are missing from the total.",
"name": "Name",
"amount": "Amount per billing",
"currency": "Currency",
"interval": "Billed",
"every": {
"1": "monthly",
"2": "every 2 months",
"3": "quarterly",
"6": "twice a year",
"12": "yearly"
},
"perMonth": "{{betrag}} per month",
"paidFrom": "Paid from",
"accountNone": "No account chosen",
"category": "Category",
"categoryNone": "No category",
"nextDue": "Next due",
"dueIn": "in {{tage}} days",
"dueToday": "due today",
"overdue": "{{tage}} days overdue",
"savingsAccount": "I set aside monthly into",
"savingsNone": "Do not set aside",
"savingsHint": "At this interval that would be {{betrag}} per month. Pick the account you set aside into — then the bill does not blow up a single month.",
"savingInto": "saving into {{name}}",
"pattern": "Match text",
"patternHint": "How the charge appears on the statement — rarely the name you know it by. Not used yet; it arrives with automatic matching.",
"cancelledFlag": "Cancelled",
"cancelledFlagHint": "Stops counting towards the monthly total but stays in the list.",
"notes": "Note"
},
"import": {
"title": "Import",
"modeCsv": "CSV",