Files
edr-platform/apps/edr-freight-web/backoffice/src
Hagernesh d5182c5d85 feat(last-mile): wire multi-container assignment, bulk drawdown + EDR exit papers
Frontend for the per-truck EDR backend:

- Assign modal takes a container LOAD per truck (MultiSelect, max 2) instead of a
  single container, so a truck can carry one 40ft or two 20ft. Sends
  containerNumbers[]; the API enforces the size rule.
- requiredVehicles is now size-aware: a 40ft fills a truck (1 each), two 20ft
  share one. It previously assumed ceil(containers / 2) regardless of size, so a
  2x40ft booking under-counted the trucks needed.
- Bulk bookings show the drawdown in the assign modal — remaining vs total
  tonnage, what's been hauled, and a "fully hauled" state when it reaches 0.
- New "Truck exit papers" row action opens a per-truck list (plate, containers,
  arrival, exit, net weight) with a per-truck exit-paper download.
- last-mile findAll/findById now load each assignment's containers so the UI can
  hydrate a truck's load.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 09:24:22 +00:00
..
2026-07-16 08:52:29 +00:00
2026-07-10 11:25:59 +00:00
2026-07-16 08:52:29 +00:00
2026-07-10 11:25:59 +00:00
2026-07-10 11:25:59 +00:00
2026-07-11 05:49:10 +00:00
2026-07-14 07:45:33 +00:00
2026-07-16 08:52:29 +00:00
2026-07-11 05:49:10 +00:00
2026-07-10 11:25:59 +00:00
2026-07-10 11:25:59 +00:00
2026-07-10 11:25:59 +00:00
2026-07-16 08:52:29 +00:00
2026-07-10 12:09:27 +00:00
2026-07-14 07:59:17 +00:00
2026-05-12 15:17:16 +03:00
2026-07-14 07:59:17 +00:00
2026-06-19 16:24:20 +03:00
2026-07-14 09:27:44 +00:00
2026-07-16 08:52:29 +00:00
2026-07-16 08:52:29 +00:00