feat(costs): leave a category out of the totals for a look (#2819)

Seeing what a trip cost without, say, food meant adding it up by hand. A
click (or tap) on a category in the breakdown now leaves it out of the
total, your share and what you paid, dimmed in place with a line naming it
and Count all to undo. View only: nothing is saved, and what is owed, open
or settled stays whole. The desktop breakdown moves into its own component.
This commit is contained in:
Maurice
2026-11-13 10:04:57 +01:00
parent a70eea5bf2
commit 72fc61a016
40 changed files with 480 additions and 63 deletions
+5
View File
@@ -182,6 +182,11 @@ const budget: TranslationStrings = {
'costs.mode.hintSplit': 'Wer bezahlt hat und wer sich jede Ausgabe teilt, und am Ende das Ausgleichen.',
'costs.mode.hintTotals':
'Nur Summen: keine Zahler, Anteile oder Ausgleich. Was schon aufgeteilt war, bleibt gespeichert.',
'costs.breakdown.hint': 'Wähle eine Kategorie, um sie aus den Summen herauszunehmen.',
'costs.breakdown.leaveOut': '{category} aus den Summen herausnehmen',
'costs.breakdown.countIn': '{category} wieder in die Summen aufnehmen',
'costs.breakdown.leftOut': 'Nicht in den Summen: {categories}',
'costs.breakdown.countAll': 'Alle zählen',
'costs.splitHint.ticket': 'Liste auf, was auf dem Beleg steht, und hak ab, wer was hatte.',
'costs.ticketItemName': 'Artikelname',
'costs.ticketSplitting': 'Aufteilen auf:',