Warehouses confilct fix

This commit is contained in:
hagiye
2026-06-21 19:06:51 +03:00
parent a8cdbdf386
commit 79efa1ec60
7 changed files with 172 additions and 108 deletions

View File

@@ -142,16 +142,4 @@ export class WarehouseInventoryController {
dispatch(@Param('id', ParseUUIDPipe) id: string, @Body('performedBy') performedBy?: string) {
return this.inventoryService.dispatch(id, performedBy);
}
@Post(':id/load')
@ApiOperation({ summary: 'Mark ready inventory as loaded' })
load(@Param('id', ParseUUIDPipe) id: string) {
return this.inventoryService.load(id);
}
@Post(':id/dispatch')
@ApiOperation({ summary: 'Dispatch loaded inventory' })
dispatch(@Param('id', ParseUUIDPipe) id: string) {
return this.inventoryService.dispatch(id);
}
}