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
@@ -178,6 +178,11 @@ const budget: TranslationStrings = {
'costs.mode.hintSplit': 'Quién pagó y quién comparte cada gasto, y el ajuste de cuentas al final.',
'costs.mode.hintTotals':
'Solo totales: sin pagadores, partes ni ajuste de cuentas. Lo que ya estaba repartido se conserva.',
'costs.breakdown.hint': 'Elige una categoría para dejarla fuera de los totales.',
'costs.breakdown.leaveOut': 'Dejar {category} fuera de los totales',
'costs.breakdown.countIn': 'Volver a contar {category} en los totales',
'costs.breakdown.leftOut': 'Fuera de los totales: {categories}',
'costs.breakdown.countAll': 'Contar todo',
'costs.splitHint.ticket': 'Enumera lo que había en el recibo y marca quién tomó cada artículo.',
'costs.filter.allCategories': 'Todas las categorías',
'costs.filter.allDays': 'Todos los días',