Files
edr-platform/apps/edr-freight-api/src/modules
Hagernesh 9eb10bb4ce feat(warehouses): auto-load targets a selected train, never loads trainless
"Auto Load Ready Items" now opens a train picker (pre-dispatch trains with
these bookings assigned, via the existing loadable-trains flow). No train
available -> no auto-loading, with a clear notice. Loading goes through the
existing per-wagon load path, so items without an allocated wagon are skipped
with a reason.

The train association is stored on the existing warehouse_loadings table
(no new table needed): new train_schedule_id column + a note recording train
number, origin -> destination, and departure time; wagon_id becomes nullable.
The trainless load-passed-export endpoint, its frontend wiring, and the unused
useLoadPassedExport hook are removed.

Migration 2100000000000 (idempotent) also applied to the dev database.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 08:34:14 +00:00
..
2026-07-09 08:50:08 +00:00
2026-07-06 12:05:52 +00:00
2026-07-07 10:00:48 +00:00
2026-06-16 09:06:11 +00:00
2026-07-07 10:00:48 +00:00
fix
2026-07-03 15:21:23 +00:00
2026-07-07 10:00:48 +00:00
2026-07-09 14:01:59 +00:00
2026-07-06 12:05:52 +00:00
2026-07-07 10:00:48 +00:00
2026-07-07 10:00:48 +00:00
2026-07-09 08:50:08 +00:00
2026-07-04 06:19:35 +00:00
2026-07-06 12:05:52 +00:00
2026-07-09 20:26:14 +00:00
2026-07-07 12:28:47 +00:00
2026-07-07 10:00:48 +00:00
fix
2026-07-03 16:36:08 +03:00