Files
edr-platform/apps/edr-freight-api/src/modules
Marshal dfdf7a025d fix(freight): guard booking-desk hours against overnight ranges
Review follow-ups on the window-close-hour feature:

- Reject windowCloseHour < windowOpenHour when saving global rules. The
  reopen engine (nextCycleOpensAt) assumes the daily desk runs within one
  EAT day; an overnight range would misroute a ready-time inside the span
  to the next morning. openHour === closeHour stays valid (24-hour desk).
- Derive the board projection's runaway cap from the real first-open →
  departure span over the minimum per-cycle advance, so a legitimate
  long-lead config is never silently truncated (was a flat 200).
- Document the open <= close precondition on nextCycleOpensAt and clarify
  the ready-before-open comment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-05 09:07:21 +00:00
..
2026-07-04 07:56:23 +00:00
fix
2026-07-03 15:21:23 +00:00
2026-06-16 09:06:11 +00:00
fix
2026-07-04 02:26:19 +00:00
fix
2026-07-03 15:21:23 +00:00
fix
2026-07-04 02:26:19 +00:00
2026-07-03 19:17:45 +00:00
2026-07-03 11:48:39 +00:00
2026-07-04 06:19:35 +00:00
2026-07-01 20:55:17 +03:00
fix
2026-07-03 15:47:12 +00:00
fix
2026-07-03 16:36:08 +03:00
2026-06-16 11:36:24 +03:00
2026-07-04 07:36:53 +00:00