WFDASHDRIVER-APP/components
Dave de16082ff7 feat: one invoice photo per PO, one-tap PO PDF, save lock, sharper photos
- Confirm Collection locks while saving ("Saving…") and the page drops a
  second collect for an item already in flight. Repeat taps on slow data
  re-ran the save and re-uploaded the photo (7 identical copies on one
  item on 2026-10-16).
- PO headers (and a single-PO supplier's list) get an Invoice button:
  photograph the supplier invoice once per PO, then "add pg 2", "pg 3".
  Pages go onto one customer line of the PO as invoice-<PO>-p<N>.jpg;
  WFDASH Collection Confirm already gathers photos per PO card. The page
  count is also kept on the device so it survives lines dropping off.
- PO button opens the PO PDF in one tap (shared buildPoFileUrl in
  lib/poDocs.ts, also used by the item detail modal).
- Collect modal says whether the PO's invoice is already uploaded, so
  the per-item photo is only for problems with the item.
- Photos now upload at 2000px / q0.8 (was 1200px / q0.7) so small print
  on invoices stays readable for the AI checks.
- Supplier header counts and detailed view now include items in PO
  grouping mode (they showed 0 items before).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 17:43:35 +02:00
..
AreaGroup.tsx feat(problems): say what kind of problem, and flag out-of-stock rows 2026-10-15 08:24:58 +02:00
AuthProvider.tsx feat: initialize project with Next.js, TypeScript, and Tailwind CSS 2026-05-24 21:51:29 +02:00
BottomNav.tsx feat: add complete dark mode support with settings toggle 2026-07-07 18:28:19 +02:00
CollectionItemCard.tsx feat: popover stays above footer, partial collections must be justified 2026-08-02 22:58:08 +02:00
CollectionMap.tsx feat: add pickup proof photos, improve performance and UX 2026-07-07 20:43:17 +02:00
CollectModal.tsx feat: one invoice photo per PO, one-tap PO PDF, save lock, sharper photos 2026-10-17 17:43:35 +02:00
InstallPrompt.tsx feat: add pickup proof photos, improve performance and UX 2026-07-07 20:43:17 +02:00
ItemDetailModal.tsx feat: one invoice photo per PO, one-tap PO PDF, save lock, sharper photos 2026-10-17 17:43:35 +02:00
LocationTracker.tsx feat: add order item photo uploads and fix PB bugs 2026-07-08 01:35:26 +02:00
OfflineIndicator.tsx refactor(ui): rebrand app, fix supplier naming 2026-07-05 22:32:20 +02:00
PoActions.tsx feat: one invoice photo per PO, one-tap PO PDF, save lock, sharper photos 2026-10-17 17:43:35 +02:00
ProblemModal.tsx refactor(ui): rebrand app, fix supplier naming 2026-07-05 22:32:20 +02:00
PWABridge.tsx Add PWA support and UI redesign 2026-05-27 00:34:50 +02:00
SupplierGroup.tsx feat: one invoice photo per PO, one-tap PO PDF, save lock, sharper photos 2026-10-17 17:43:35 +02:00