wAREHOUSE kPI strips

This commit is contained in:
Hagernesh
2026-07-13 13:38:28 +00:00
parent 452355e292
commit a542a13893
11 changed files with 120 additions and 0 deletions

View File

@@ -52,6 +52,12 @@ export class WarehouseInventoryController {
return this.inventoryService.arrivalQueue();
}
@Get('ops-stats')
@ApiOperation({ summary: 'At-a-glance warehouse ops counters for the KPI strip' })
opsStats() {
return this.inventoryService.opsStats();
}
@Get('zone-occupancy')
@ApiOperation({ summary: 'Live occupancy per zone (rated capacity vs held) — heatmap data' })
zoneOccupancy(@Query('yardId') yardId?: string) {