mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 03:05:42 +00:00
feat(warehouse): Batch 10 — import post-inspection actions (pickup / last-mile / store / dispatch)
- READY_FOR_PICKUP transitions now → DELIVERED (customer pickup) OR DISPATCHED (dispatch out) OR STORED (operator-chosen storage) — pickup and dispatch kept separate. No auto-storage. - GET /warehouse-inventory/import/pickup-ready-queue: READY_FOR_PICKUP import items (shared query with the unloaded queue, route-derived import filter) - WarehouseInventoryTable: PICKUP_READY rows now show explicit Store + Dispatch buttons alongside the customer-pickup (release/deliver) next action; reuses the existing advance() dispatcher - Import → Dispatch Queue tab renders pickup-ready items via InventoryWorkbench (all existing actions + modals intact) with Last Mile shown only when door delivery was requested - Verified: pickup-ready item → Store → STORED; → Dispatch → DISPATCHED Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -142,6 +142,12 @@ export class WarehouseInventoryController {
|
||||
return this.inventoryService.importUnloadedQueue();
|
||||
}
|
||||
|
||||
@Get('import/pickup-ready-queue')
|
||||
@ApiOperation({ summary: 'IMPORT inventory that is PICKUP_READY (READY_FOR_PICKUP) awaiting pickup/dispatch' })
|
||||
importPickupReadyQueue() {
|
||||
return this.inventoryService.importPickupReadyQueue();
|
||||
}
|
||||
|
||||
@Get('loadable-wagons')
|
||||
@ApiOperation({ summary: 'List wagons usable for loading (read-only from scheduling)' })
|
||||
loadableWagons() {
|
||||
|
||||
Reference in New Issue
Block a user