demurrage invoices

This commit is contained in:
Hagernesh
2026-06-18 00:05:50 +00:00
parent 33b74a5da9
commit 3860d17304
5 changed files with 143 additions and 0 deletions

View File

@@ -65,6 +65,12 @@ export class WarehouseInventoryController {
return this.inventoryService.unloadBooking(bookingId, dto);
}
@Post(':id/gate-clearance')
@ApiOperation({ summary: 'Final terminal release / gate clearance (blocked while fees unpaid)' })
gateClearance(@Param('id', ParseUUIDPipe) id: string, @Body('performedBy') performedBy?: string) {
return this.inventoryService.gateClearance(id, performedBy);
}
@Get('loadable-wagons')
@ApiOperation({ summary: 'List wagons usable for loading (read-only from scheduling)' })
loadableWagons() {