Several payers: clearer on phones, plus tests

The editor already supported several payers ("Several people" in Paid by);
this polishes it after checking it at 390x844 and 360x780 (Czech):

- Expense list: "Paid by 3 people" was truncated on phones; now "3 payers"
  (proper Czech plurals: plátce / plátci / plátců).
- Empty payer boxes show the unassigned remainder as a placeholder.
- A green "Adds up to the total" line confirms when the payers match.
- Tests: core balance + settle-up for a car bought by three people, a
  foreign-currency multi-payer case, and an e2e flow (remaining, over,
  validation error, save, balances).
- SPEC: describe the actual several-payers UI (no "add payer" button).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gX9UJk6BEyaJJwiWPc
This commit is contained in:
agent 2026-11-18 19:23:19 +00:00
parent 61f4e42846
commit 9981cf9a9a
7 changed files with 80 additions and 6 deletions

View file

@ -22,6 +22,7 @@
upload: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12',
down: 'M6 9l6 6 6-6',
up: 'M6 15l6-6 6 6',
check: 'M20 6L9 17l-5-5',
archive: 'M3 4h18v5H3zM5 9v11h14V9M10 13h4',
} as const;