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
@@ -191,6 +191,11 @@ const budget: TranslationStrings = {
'costs.mode.label': 'Ділити витрати між мандрівниками',
'costs.mode.hintSplit': 'Хто заплатив і хто ділить кожну витрату, а наприкінці розрахунок.',
'costs.mode.hintTotals': 'Лише підсумки: без платників, часток і розрахунків. Уже поділене залишається збереженим.',
'costs.breakdown.hint': 'Виберіть категорію, щоб не враховувати її в підсумках.',
'costs.breakdown.leaveOut': 'Не враховувати {category} в підсумках',
'costs.breakdown.countIn': 'Знову враховувати {category} в підсумках',
'costs.breakdown.leftOut': 'Не враховано в підсумках: {categories}',
'costs.breakdown.countAll': 'Враховувати все',
'costs.splitHint.ticket': 'Перелічіть, що було в чеку, і позначте, хто брав кожну позицію.',
'costs.filter.allCategories': 'Усі категорії',
'costs.filter.allDays': 'Усі дні',