Files
edr-platform/apps/edr-freight-web/backoffice/src/pages
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-06-23 15:02:25 +03:00
2026-07-04 07:17:05 +00:00
2026-07-16 07:17:22 +00:00
2026-07-11 11:10:51 +03:00
2026-07-07 18:40:32 +00:00
2026-07-16 00:33:31 +00:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
2026-06-23 15:02:25 +03:00
2026-07-15 13:29:01 +00:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
2026-07-14 08:47:46 +00:00
2026-07-14 08:47:46 +00:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
2026-07-14 07:45:33 +00:00
fix
2026-07-10 14:24:58 +03:00
2026-07-03 09:10:05 +00:00
fix
2026-07-10 14:24:58 +03:00
2026-07-14 09:12:22 +00:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00
fix
2026-07-10 14:24:58 +03:00