cashup/frontend
jtricerolph 53c8938c2f Fix denomination total wrong when loaded from DB
PostgreSQL NUMERIC columns return as strings in node-postgres. denomTotal
was doing 0 + "40.00" + "30.00" → "040.0030.00", and parseFloat in
fmtGBP read only the first portion, giving a wrong total (£40.00 instead
of £78.80 etc).

Fix: coerce total_amount and value_entered to numbers in applyLoaded;
make denomTotal's reducer defensively use Number() so strings can't
silently break the sum again.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-01 22:06:03 +00:00
..
src Fix denomination total wrong when loaded from DB 2026-07-01 22:06:03 +00:00
Dockerfile Wire Newbook credentials to settings service 2026-07-01 19:33:16 +00:00
index.html Wire Newbook credentials to settings service 2026-07-01 19:33:16 +00:00
nginx.conf Wire Newbook credentials to settings service 2026-07-01 19:33:16 +00:00
package.json Wire Newbook credentials to settings service 2026-07-01 19:33:16 +00:00
tsconfig.json Wire Newbook credentials to settings service 2026-07-01 19:33:16 +00:00
vite.config.ts Wire Newbook credentials to settings service 2026-07-01 19:33:16 +00:00