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
@@ -179,6 +179,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': 'Όλες οι ημέρες',