Files
edr-platform/apps/edr-freight-api/src/modules
Hagernesh 7e934b3433 feat(warehouse,last-mile): truck load size rule, dedup last-mile, driver-required + arrival prefill
Truck loading:
- loadTruck enforces max 2 containers / one 40ft (two 20ft) and auto-marks an
  assigned truck arrived on load; container-items payload + modal expose
  container size with a client-side selection cap.
- Show "#x containers pending assignment" in the portal truck card and the
  backoffice container modal.

Last-mile:
- create() is idempotent — return the existing record for a booking instead of
  inserting a duplicate delivery row (fixed the same booking showing twice in
  Assign-Mile).
- setVehicles/update reject a truck with no assigned driver; the Assign toast
  now surfaces the reason.
- New GET /last-mile/booking/:id/arrival-trucks returns assigned EDR trucks with
  driver details; ReleaseOrderModal fetches and auto-fills them so an assigned
  EDR truck no longer reads as "not assigned yet".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:16:45 +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
gps
2026-07-10 15:23:49 +00:00
2026-07-06 12:05:52 +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-10 11:08:30 +00:00
2026-07-14 11:06:49 +00:00
2026-07-14 11:06:49 +00:00
2026-07-07 10:00:48 +00:00
fix
2026-07-03 16:36:08 +03:00
2026-07-14 13:10:00 +00:00