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
@@ -184,6 +184,11 @@ const budget: TranslationStrings = {
'costs.mode.label': 'Dělit náklady mezi cestující',
'costs.mode.hintSplit': 'Kdo platil a kdo se na každém výdaji podílí, a vyrovnání na konci.',
'costs.mode.hintTotals': 'Jen součty: bez plátců, podílů a vyrovnání. Co už bylo rozděleno, zůstává uložené.',
'costs.breakdown.hint': 'Vyberte kategorii a vynechte ji ze součtů.',
'costs.breakdown.leaveOut': 'Vynechat {category} ze součtů',
'costs.breakdown.countIn': 'Znovu započítat {category} do součtů',
'costs.breakdown.leftOut': 'Vynecháno ze součtů: {categories}',
'costs.breakdown.countAll': 'Započítat vše',
'costs.splitHint.ticket': 'Vypište, co bylo na účtence, a zaškrtněte, kdo měl kterou položku.',
'costs.filter.allCategories': 'Všechny kategorie',
'costs.filter.allDays': 'Všechny dny',