WFDASH-WEBAPP/src/lib/server
Dave d0fb8e81f0 feat(collection-confirm): add quantity collection handling and deduplication improvements
- Introduced a new `handleQtyChange` function to manage per-row quantity updates for both customer and stock items, ensuring correct data submission to the appropriate endpoints.
- Enhanced the `dedupeAttachments` function to handle additional document sources, including parent purchase orders, and skip empty filenames to prevent 404 errors.
- Updated the `ItemsTable` and `PoCard` components to support quantity editing, allowing users to modify collected quantities directly in the UI.
- Added tests to validate the new quantity handling logic and attachment deduplication, ensuring robust functionality across various scenarios.
2026-08-17 02:17:27 +02:00
..
agent-auth.test.ts
agent-auth.ts
ai-settings-service.ts
ai-system-prompt.ts
attachment-extractor.ts
browser-session.ts
buyer-tasks-service.test.ts feat: add server-side quote search & PO number format update 2026-08-14 11:15:38 +02:00
buyer-tasks-service.ts feat(tv): add TV dashboard + refine workflows 2026-08-13 20:55:22 +02:00
collection-confirm-service.test.ts feat: add support for stock purchase attachments 2026-08-14 18:25:05 +02:00
collection-confirm-service.ts feat(collection-confirm): add quantity collection handling and deduplication improvements 2026-08-17 02:17:27 +02:00
collection-confirm-upload.test.ts
counter-service.ts feat(counter): add standalone counter order PWA 2026-08-13 09:27:20 +02:00
customers-service.test.ts feat(tv): add TV dashboard + refine workflows 2026-08-13 20:55:22 +02:00
customers-service.ts feat(mcp): add walk-in quote creation and enhance customer filtering 2026-08-15 11:50:48 +02:00
dashboard-service.test.ts
dashboard-service.ts
deliveries-service.test.ts feat(deliveries): enhance delivery notes management and UI 2026-08-17 01:27:03 +02:00
deliveries-service.ts feat(deliveries): enhance delivery notes management and UI 2026-08-17 01:27:03 +02:00
delivery-notes-service.test.ts feat(delivery-notes): implement QuickBooks invoice auto-close functionality 2026-08-16 22:24:08 +02:00
delivery-notes-service.ts feat(deliveries): enhance delivery notes management and UI 2026-08-17 01:27:03 +02:00
driver-stops.ts
item-history-service.test.ts
item-history-service.ts
item-intel-service.ts feat(mcp): implement structured MCP error handling for upstream fetches 2026-08-15 22:32:11 +02:00
management-service.ts
mcp-upstream-fetch.test.ts feat(mcp): implement structured MCP error handling for upstream fetches 2026-08-15 22:32:11 +02:00
mcp-upstream-fetch.ts feat(mcp): implement structured MCP error handling for upstream fetches 2026-08-15 22:32:11 +02:00
order-completion.test.ts
order-completion.ts
order-item-context-service.test.ts
order-item-context-service.ts
order-item-margin-approval-service.test.ts
order-item-margin-approval-service.ts
order-item-status.test.ts
order-item-status.ts
order-items-service.test.ts feat: add driverless collection confirm and new order tooling 2026-08-12 01:13:46 +02:00
order-items-service.ts feat(orders): enhance order retrieval and statistics functionality 2026-08-16 00:51:24 +02:00
order-quote-match.test.ts
order-quote-match.ts
orders-service-review.test.ts
orders-service.test.ts feat(duplicate-orders): enhance duplicate order detection and UI 2026-08-16 11:25:00 +02:00
orders-service.ts feat(duplicate-orders): enhance duplicate order detection and UI 2026-08-16 11:25:00 +02:00
po-email-template.ts
po-number.test.ts feat: add server-side quote search & PO number format update 2026-08-14 11:15:38 +02:00
po-number.ts feat: add server-side quote search & PO number format update 2026-08-14 11:15:38 +02:00
pocketbase-admin.test.ts
pocketbase-admin.ts
price-list-match.test.ts
price-list-match.ts
price-list-service.test.ts
price-list-service.ts
purchase-order-agent-service.test.ts feat(collection-confirm): add stock item edits 2026-08-14 16:39:46 +02:00
purchase-order-agent-service.ts feat(collection-confirm): add stock item edits 2026-08-14 16:39:46 +02:00
purchase-orders-service.test.ts
purchase-orders-service.ts
quote-email-template.ts
quote-items-insights-service.test.ts
quote-items-insights-service.ts
quote-items-service.test.ts feat(mcp): add walk-in quote creation and enhance customer filtering 2026-08-15 11:50:48 +02:00
quote-items-service.ts feat(quotes): enhance quotes.submit functionality and error handling 2026-08-15 23:57:51 +02:00
quotes-ai-processor.ts
quotes-from-email-service.ts
quotes-search-service.test.ts feat(deliveries): enhance delivery notes management and UI 2026-08-17 01:27:03 +02:00
quotes-search-service.ts feat(deliveries): enhance delivery notes management and UI 2026-08-17 01:27:03 +02:00
quotes-service.test.ts feat(quotes): enhance quotes.submit functionality and error handling 2026-08-15 23:57:51 +02:00
quotes-service.ts feat(quotes): enhance quotes.submit functionality and error handling 2026-08-15 23:57:51 +02:00
stock-booking-service.test.ts
stock-booking-service.ts
stock-cost-service.ts
stock-items-service.test.ts
stock-items-service.ts
stock-out.ts
stock-purchase-invoice-matching-service.test.ts
stock-purchase-invoice-matching-service.ts
stock-purchase-items-service.test.ts
stock-purchase-items-service.ts feat(collection-confirm): add quantity collection handling and deduplication improvements 2026-08-17 02:17:27 +02:00
stock-purchases-migration.test.ts
stock-purchases-service.attachments.test.ts
stock-purchases-service.test.ts
stock-purchases-service.ts
stock-quick-draft-service.test.ts
stock-quick-draft-service.ts
stock-surplus.test.ts
stock-surplus.ts
tv-dashboard-service.ts feat(tv): add TV dashboard + refine workflows 2026-08-13 20:55:22 +02:00
tv-session.ts feat(tv): add TV dashboard + refine workflows 2026-08-13 20:55:22 +02:00