MEGAINFRA-WEBAPP/src/app/api
DEls 9f0fce988e feat(cash-floats): petty-cash cards on users, one log, clock Slips tab
Each cash float card lives on its holder's user record (card number, last
4-6 digits of the physical card, low limit, assigned date). Every movement
goes in one cash_float_log collection: opening, top-up, slip, handover and
correction rows with signed amounts. Balances are always summed from the log.

- Management -> Cash Floats: cards table (lowest balance first), add, edit,
  top up, hand over, correct balance, retire, movements sheet with slip
  photos and CSV export. Admin-only.
- Settings -> Users: card section in the edit form and the balance per holder.
- Clock app: Slips tab, shown only to a user who holds a card. Photo, site,
  supplier and amount; the slip comes off that user's own card.
- Sidebar needs-attention mark when a card is under its limit.
- Slips count as site spend ("Cash float slips" on the site page).
- Migration scripts/migrations/2026-10-24-cash-floats.py (already applied to
  production on 2026-10-24).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:17:06 +02:00
..
admin/users feat(management): add admin planning dashboards 2026-10-09 10:16:50 +02:00
agent/actions/[id] test(ask): give the actions route tests a matching Host header 2026-09-27 02:28:47 +02:00
ask fix(ask): supplier balances, payable per supplier per period, PDF fallback 2026-09-27 10:56:40 +02:00
auth fix(auth): keep named user sessions for 60 days 2026-10-19 20:04:14 +02:00
cash-floats feat(cash-floats): petty-cash cards on users, one log, clock Slips tab 2026-10-24 13:17:06 +02:00
chat feat(management): add admin planning dashboards 2026-10-09 10:16:50 +02:00
clock feat(cash-floats): petty-cash cards on users, one log, clock Slips tab 2026-10-24 13:17:06 +02:00
dashboard-attention feat(cash-floats): petty-cash cards on users, one log, clock Slips tab 2026-10-24 13:17:06 +02:00
data-import-batches/[id] feat(management): add admin planning dashboards 2026-10-09 10:16:50 +02:00
deletion-flags/[collection]/[recordId] feat(dn): route to delete or keep a flagged record 2026-10-09 21:54:14 +02:00
delivery-notes fix: harden workforce, plant and financials 2026-10-19 13:18:31 +02:00
dn-batches fix(deliveries): unblock new scans and match duplicate Drift supplier POs 2026-10-19 14:27:52 +02:00
employees fix: harden workforce, plant and financials 2026-10-19 13:18:31 +02:00
employers fix(workforce): let site managers add and rename employers and brokers 2026-10-19 16:33:41 +02:00
fuel-logs/import fix: harden workforce, plant and financials 2026-10-19 13:18:31 +02:00
health
management feat(management): list every planned project on Retention 2026-10-20 12:58:02 +02:00
mcp feat: run durable MCP processing jobs in the existing app 2026-10-05 02:04:15 +02:00
payroll feat(workforce): payroll export, labour cost by site, all-sites totals in the site matrix 2026-10-21 07:00:48 +02:00
pb-files/[collection]/[recordId]/[...filename] feat(auth): add Office access and restrict Clock users 2026-10-07 14:22:57 +02:00
plant-hours fix: harden workforce, plant and financials 2026-10-19 13:18:31 +02:00
purchase-orders feat(receiving): add Inbox 2 and strengthen duplicate checks 2026-10-12 20:20:27 +02:00
records/[collection]/[id]/verify feat: share validated purchasing writes with MCP 2026-10-05 01:48:49 +02:00
sites fix(site-map): review fixes — batches of 50, survey CSV locales, save recovery 2026-10-14 08:56:05 +02:00
suppliers fix: harden workforce, plant and financials 2026-10-19 13:18:31 +02:00
timesheets fix: harden workforce, plant and financials 2026-10-19 13:18:31 +02:00
vehicles fix: harden workforce, plant and financials 2026-10-19 13:18:31 +02:00