Files
edr-platform/apps/edr-freight-web/backoffice
Hagernesh 204bfd2421 fix: let trains dispatch with cargo still in the warehouse
The export-only assertAllocatedCargoLoaded guard threw a
BadRequestException whenever a booking on the schedule had warehouse
inventory in RECEIVED, STORED or READY_FOR_LOADING, making it
impossible to dispatch a train whose cargo had not been inspected and
loaded onto a wagon.

Leaving cargo behind is an operational decision, not an error state.
The dispatch confirm dialog already lists unassigned and unloaded
bookings and offers Dispatch anyway, so the readiness signal is
preserved — only the hard block is gone.

Wagon/locomotive conflicts and the Djibouti gatepass check still block
dispatch: those are physical and legal conflicts, not cargo readiness.
2026-08-08 13:17:43 +00:00
..
2026-07-11 12:17:33 +03:00
2026-06-13 14:32:26 +03:00
2026-07-14 07:45:33 +00:00
2026-05-12 15:17:16 +03:00
2026-08-08 09:37:28 +00:00
2026-07-10 13:04:39 +00:00
2026-05-12 15:17:16 +03:00