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
@@ -155,6 +155,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.pickSomeone': 'בחרו לפחות אדם אחד לחלוקה.',
'costs.splitSummary': 'חלוקה ל-{count} · {amount} לכל אחד',