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
@@ -192,6 +192,11 @@ const budget: TranslationStrings = {
'costs.mode.hintSplit': 'Kto zapłacił i kto dzieli każdy wydatek, a na koniec rozliczenie.',
'costs.mode.hintTotals':
'Tylko sumy: bez płacących, udziałów i rozliczeń. To, co już podzielono, pozostaje zapisane.',
'costs.breakdown.hint': 'Wybierz kategorię, aby pominąć ją w sumach.',
'costs.breakdown.leaveOut': 'Pomiń {category} w sumach',
'costs.breakdown.countIn': 'Uwzględnij {category} w sumach ponownie',
'costs.breakdown.leftOut': 'Pominięte w sumach: {categories}',
'costs.breakdown.countAll': 'Uwzględnij wszystko',
'costs.splitHint.ticket': 'Wypisz, co było na paragonie, i zaznacz, kto miał którą pozycję.',
'costs.filter.allCategories': 'Wszystkie kategorie',
'costs.filter.allDays': 'Wszystkie dni',