WFDASH-WEBAPP/src/app/api
Dave e66ea11845 feat(collection-confirm): Delete photo; drop the Run agent scan button
- Delete photo next to "Add supplier invoice" removes the photo open in
  the previewer (wrong upload, or one of several for the same PO) after an
  inline "Delete …? Yes, delete" confirm; the confirm resets when you
  switch photos. Not offered for the PO PDF.
- POST /api/v1/collection-confirm/delete-photo (browser session) →
  deleteCollectionPhoto: takes the file off every order line carrying it
  (or the stock purchase's photo slot) and deletes the AI's reads of it
  plus the checks built on them (shared forgetReads with Move photo).
- Removed the header's blue "Run agent scan" button and its results panel
  (not in use); the /api/v1/agent/scan route stays for the agent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 14:26:10 +02:00
..
counter
dashboard
invoicing feat(invoicing): cancel a dead order off the To Invoice list, with a reason 2026-10-08 00:58:16 +02:00
mcp docs(mcp): collection_confirm.ai_check may set a discounted cost 2026-10-19 13:40:22 +02:00
tv
v1 feat(collection-confirm): Delete photo; drop the Run agent scan button 2026-10-19 14:26:10 +02:00
route-export-contract.test.ts chore: update route.ts 2026-10-15 16:28:37 +02:00