mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 14:08:11 +00:00
Warehouses confilct fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user