No description
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> |
||
|---|---|---|
| backend | ||
| frontend | ||
| docker-compose.yml | ||