cashup/backend/src
jtricerolph fb66dcd6bf Save transaction checks, till float variance, fix image upload
- Persist transaction breakdown checked state in cash_ups.checked_transactions
  (JSONB column); saved on each draft/final save and restored on page load.
  Re-fetching Newbook no longer resets the checked items.
- Add till_float_target setting; Float Count card shows target and variance
  so staff can see at a glance whether the till balances.
- Compress images client-side (max 1600px, 85% JPEG) before upload to avoid
  504 gateway timeouts from NPM when uploading large mobile photos.
- File input accepts image/* only (was image/*+PDF which confuses mobile pickers).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 14:46:52 +00:00
..
lib Wire Newbook credentials to settings service 2026-07-01 19:33:16 +00:00
routes Save transaction checks, till float variance, fix image upload 2026-07-02 14:46:52 +00:00
auth.js Split floats→safe_count, reports→cash_summary, add history cap 2026-07-02 14:35:56 +00:00
db.js Save transaction checks, till float variance, fix image upload 2026-07-02 14:46:52 +00:00
index.js Enforce granular capabilities across cashup 2026-07-02 14:19:30 +00:00
ip-check.js Wire Newbook credentials to settings service 2026-07-01 19:33:16 +00:00