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': '모든 날짜',