MEGAINFRA-WEBAPP/docs/superpowers/specs
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
..
2026-08-19-po-import-queue-redesign.md
2026-08-19-purchase-order-upload-design.md
2026-08-26-needs-review-modal-compact.png
2026-08-26-needs-review-modal-resize-and-pdf-viewer-design.md
2026-08-26-pdf-url-fix-and-modal-compact-design.md
2026-08-26-purchasing-ui-tweaks-design.md
2026-08-27-po-supplier-edit-and-dn-collapse-design.md
2026-08-28-fuel-attention-dismissal-design.md
2026-08-28-plant-hours-weekly-log-design.md
2026-08-28-site-overhead-monthly-and-oneoff-design.md docs(spec): clarify card subtitle covers monthly + one-off 2026-08-28 12:33:53 +02:00
2026-08-30-pwa-split-icon-design.md docs(spec): MEGA Ask vs MEGA OPS PWA split-install icon design 2026-08-30 22:11:02 +02:00
2026-08-31-vehicle-unit-type-toggle-ui-design.md docs(spec): vehicle unit_type inline-edit UI (fleet + plant) 2026-08-31 12:48:57 +02:00
2026-09-11-ingestion-restructure-design.md docs(spec): add PO fulfilment model — outstanding is computed, not stored 2026-09-11 10:09:12 +02:00
2026-09-11-mega-clock-timeclock-pwa-design.md docs(clock): add design spec for standalone MEGA Clock timeclock PWA 2026-09-11 23:54:39 +02:00
2026-09-11-sidebar-restructure-design.md docs(spec): sidebar restructure — grouped nav with landing pages 2026-09-11 16:37:59 +02:00
2026-09-11-site-scope-switcher-design.md docs(site-scope): spec the global site scope switcher 2026-09-11 22:20:05 +02:00
2026-09-11-suppliers-design.md docs(spec): correct the suppliers migration's expected merge count 2026-09-11 18:02:18 +02:00
2026-09-11-workers-timesheets-qr-design.md feat(worker-qr): real PDF + CSV batch export 2026-09-20 20:43:10 +02:00
2026-09-17-delivery-note-inbox-design.md feat(dn-batches): one batch per tick by default 2026-09-17 22:54:32 +02:00
2026-09-17-dn-inbox-corrections-design.md docs(delivery-notes): spec the inbox corrections after the first real run 2026-09-17 20:41:20 +02:00
2026-09-18-hybrid-delivery-note-ingestion-design.md docs: design hybrid delivery note ingestion 2026-09-18 18:34:57 +02:00
2026-09-25-clock-daily-shifts-and-exceptions-design.md feat(clock): review missed scan-outs without changing phone flow 2026-09-25 07:27:12 +02:00
2026-09-28-pocketbase-login-design.md feat(auth): add PocketBase logins and site access controls 2026-09-28 23:51:47 +02:00
2026-09-30-delivery-reconciliation-supplier-rules-design.md Integrate agent work and add dashboard attention indicators 2026-10-04 21:53:32 +02:00
2026-10-01-delivery-processing-preview.md Integrate agent work and add dashboard attention indicators 2026-10-04 21:53:32 +02:00
2026-10-05-remote-purchasing-mcp-design.md docs: plan same-app remote purchasing MCP implementation 2026-10-05 01:22:08 +02:00
2026-10-09-delivery-agent-tools-design.md docs(dn): Avidan matching study and agent tools design 2026-10-09 01:55:21 +02:00
2026-10-09-dn-explain-or-ask-design.md docs(dn): explain-or-ask design (smarter in-app matching, line colours, rulebook) 2026-10-09 19:50:35 +02:00
2026-10-11-inbox-two-design.md feat(receiving): add Inbox 2 and strengthen duplicate checks 2026-10-12 20:20:27 +02:00
2026-10-14-site-map-phase1-design.md docs(site-map): phase 1 spec and implementation plan 2026-10-14 07:02:23 +02:00
2026-10-17-map2-design.md fix: harden workforce, plant and financials 2026-10-19 13:18:31 +02:00
2026-10-24-cash-floats-design.md feat(cash-floats): petty-cash cards on users, one log, clock Slips tab 2026-10-24 13:17:06 +02:00