WFDASH-WEBAPP/scripts/dev
SJCoetz 6c07a91693 refactor: drop order-level status, shift to item-driven workflow
This commit overhauls the order management system to use item-level status tracking instead of a single order-level status:
- Remove deprecated `orders.status` field and add `invoiced` and quote match audit fields
- Add `isOrderComplete` utility with tests to validate fully delivered orders
- Add purchase order PDF rendering support and tooling
- Add geo coordinate fields for companies/customers with map link UI
- Add REST management APIs for customers, companies, and suppliers
- Update customer/company services to use relation fields instead of free text
- Add status pill and tab filter components for item status visualization
- Add quote-to-order matching logic and unit tests
- Update all pages, components, and tests to match the new schema
- Include all required PocketBase migrations and schema updates
2026-06-29 13:06:01 +02:00
..
debug-direct-image.tsx feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
debug-image-srcs.tsx feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
debug-image-test.tsx feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
debug-image-test2.tsx feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
debug-logo-url.tsx feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
debug-logo.ts feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
debug-png-variants.tsx feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
debug-png-workarounds.tsx feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
debug-png.tsx feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
generate-sample-pdf.ts feat: add quote templates, improved email, new statuses 2026-06-24 22:57:01 +02:00
seed-and-test-matcher.ts refactor: drop order-level status, shift to item-driven workflow 2026-06-29 13:06:01 +02:00
test-render.tsx feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00