WFDASH-WEBAPP/src/app/(app)
SJCoetz 3664eef898 feat(po): resend purchase order from sent / mail_failed / sending statuses
Work by another agent on the PO send flow. Adds a 'Resend' CTA
on the order detail page for POs that were already sent
(operator wants to send another copy to the supplier), plus
acceptance of the same flow from the modal. Includes:

- purchase-orders-service: accept 'sent' as a resend-from state
  (in addition to 'draft' and 'mail_failed')
- send-po-modal: title flips to 'Resend Purchase Order ...' when
  the PO was previously sent; 'Send' button becomes 'Resend'
- send-po-modal.test: covers the resend path
- orders/[id]/page: shows Resend button in the same sendable
  state group as Send (was draft / mail_failed, now also 'sent')
- purchase-orders pdf route: updates docstring to reflect that
  status is the outbound-email pipeline's responsibility
- stock-purchases pdf route: download URL uses file proxy for
  admin-auth compatibility

Co-authored-by: Orca <help@stably.ai>
2026-08-04 20:05:52 +02:00
..
collection-confirm feat(collection-confirm): in-app invoice viewer with zoom + mobile layout 2026-08-04 01:38:25 +02:00
collection-map feat: collection-map updates, todays-stops, quote/approval rework, buyer-tasks, e2e 2026-08-03 09:33:45 +02:00
collection-pool feat: collection-map updates, todays-stops, quote/approval rework, buyer-tasks, e2e 2026-08-03 09:33:45 +02:00
companies fix, feat, style: standardize quote numbers, polish UI 2026-07-10 22:21:50 +02:00
customers fix, feat, style: standardize quote numbers, polish UI 2026-07-10 22:21:50 +02:00
dashboard chore: add logos, opencode config and build assets 2026-07-27 08:21:20 +02:00
deliveries chore: add logos, opencode config and build assets 2026-07-27 08:21:20 +02:00
delivery-notes chore: add logos, opencode config and build assets 2026-07-27 08:21:20 +02:00
invoicing feat: collection-map updates, todays-stops, quote/approval rework, buyer-tasks, e2e 2026-08-03 09:33:45 +02:00
orders feat(po): resend purchase order from sent / mail_failed / sending statuses 2026-08-04 20:05:52 +02:00
pricelist feat: add picking slips, bulk print tracking, supplier map 2026-07-10 10:47:11 +02:00
quotes perf(quotes): server-side tab filter, slim expand, combined counts + bonus bugfix 2026-08-04 19:01:31 +02:00
repairs
settings refactor: switch hardcoded UI colors to semantic theme tokens 2026-07-07 17:22:03 +02:00
sprint feat: collection-map updates, todays-stops, quote/approval rework, buyer-tasks, e2e 2026-08-03 09:33:45 +02:00
stock chore(stock): remove Location from PDF and UI 2026-08-03 19:34:56 +02:00
stock-orders feat: unify buyer task flows by supporting both customer orders and stock purchases in mark-ready API and UI, and fix PDF table layout responsiveness. 2026-08-03 18:52:30 +02:00
supplier-map Add supplier map feature with Leaflet UI 2026-05-27 14:39:00 +02:00
suppliers fix, feat, style: standardize quote numbers, polish UI 2026-07-10 22:21:50 +02:00
webview feat(webview): probe upstream + show status badge in header 2026-08-04 01:42:31 +02:00
layout.tsx chore: add logos, opencode config and build assets 2026-07-27 08:21:20 +02:00