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
@@ -169,6 +169,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': 'すべての日',