WFDASH-WEBAPP/src/app/api
Dave 999948861e feat: add server-side quote search & PO number format update
Implement new server-side ranked quote search endpoint at `/api/v1/quotes/search`, replacing the legacy 500-row client-side substring scan that missed older quotes and didn't rank results by relevance. The new search scores matches across quote identifiers, customer/company headers, and line item fields.
Update PO number generation and validation to use a dashless format (POYYYYMMNNNXXX) with per-company scoped sequence numbers, and ignore legacy PO formats when calculating new sequences.
Remove legacy `searchQuotesWithItems` function and its associated test file, then update the quotes page to use the new server-side search API.
Add comprehensive unit and integration tests for the new quote search service and updated PO number logic.
2026-08-14 11:15:38 +02:00
..
counter feat(counter): add standalone counter order PWA 2026-08-13 09:27:20 +02:00
dashboard feat(tv): add TV dashboard + refine workflows 2026-08-13 20:55:22 +02:00
invoicing fix(orders,delivery-notes): resolve build type errors after supplier removal 2026-08-12 01:42:19 +02:00
mcp feat: add driverless collection confirm and new order tooling 2026-08-12 01:13:46 +02:00
tv feat(tv): add TV dashboard + refine workflows 2026-08-13 20:55:22 +02:00
v1 feat: add server-side quote search & PO number format update 2026-08-14 11:15:38 +02:00