Commit Graph

702 Commits

Author SHA1 Message Date
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
Marshal
93b8b69464 Add window close hour to booking desk configuration 2026-07-05 08:53:27 +00:00
Marshal
9105e77439 changes 2026-07-04 09:21:16 +00:00
marshal
ef2e8b6461 Merge pull request #460 from Tria-plc/freight_feature/usermanagement
Freight feature/usermanagement
2026-07-04 12:04:03 +03:00
Marshal
e6328fc897 changes 2026-07-04 09:03:24 +00:00
Marshal
c4a92c6482 changes 2026-07-04 08:23:08 +00:00
Hagernesh Tadesse
d6e4aa188f Merge pull request #459 from Tria-plc/CutomerTruckAssign
Cutomer truck assign

Fields: Truck Plate Number, Driver Name, Truck Type, Container Number to Load (now the Select I just wired) → Verify & Submit Assignment.
2026-07-04 10:59:48 +03:00
Hagernesh
8916182a62 Truck assign containers 2026-07-04 07:56:23 +00:00
marshal
4f31794abd Merge pull request #458 from Tria-plc/freight_feature/usermanagement
refactor: remove gate pass granting logic from clearance services and UI
2026-07-04 10:45:22 +03:00
Marshal
145240d3bd refactor: remove gate pass granting logic from clearance services and UI
- Removed the gate pass granting functionality from the BookingClearanceService and ContractClearanceService, replacing it with a new method to retrieve gate pass status from train schedules.
- Updated the ContractsController to eliminate endpoints related to gate pass granting.
- Refactored the UI components (ExportClearanceStepper and PhasedClearanceActionPanel) to reflect the new gate pass securing process, linking to the train scheduling interface instead.
- Cleaned up related constants and query hooks, removing unused code and references to the gate pass functionality.
- Adjusted types in the contracts to accommodate changes in the gate pass handling logic.
2026-07-04 07:43:03 +00:00
Hagernesh
e8e3e01f31 release order document fix 2026-07-04 07:36:53 +00:00
marshal
78b32fa605 Merge pull request #457 from Tria-plc/freight_feature/usermanagement
chages
2026-07-04 10:31:47 +03:00
Marshal
74118165c6 chages 2026-07-04 07:16:23 +00:00
Hagernesh Tadesse
493af38ba2 Merge pull request #455 from Tria-plc/naming_convention
Handover customer sign
2026-07-04 10:04:23 +03:00
Hagernesh
18f47481d7 Handover customer sign 2026-07-04 06:31:23 +00:00
marshal
8fbff3b91b Merge pull request #454 from Tria-plc/freight_feature/usermanagement
changes
2026-07-04 09:22:58 +03:00
Marshal
7058922987 changes 2026-07-04 06:19:35 +00:00
marshal
8084b411ca Merge pull request #453 from Tria-plc/freight_feature/usermanagement
Freight feature/usermanagement
2026-07-04 08:00:26 +03:00
Marshal
f37078d51d update joins in repository services to use entity classes and enhance booking form with hazardous/reefer toggles 2026-07-04 04:59:51 +00:00
marshal
32e1b5a10d Merge pull request #452 from Tria-plc/freight_feature/usermanagement
Freight feature/usermanagement
2026-07-04 07:25:38 +03:00
Marshal
2c0e115c14 update joins in repository services to use entity classes and enhance booking form with hazardous/reefer toggles 2026-07-04 04:23:10 +00:00
natib21
2e31fd12e1 fix 2026-07-04 02:26:19 +00:00
natib21
bd88424167 fix 2026-07-04 01:47:28 +00:00
marshal
82cefc63d2 Merge pull request #442 from Tria-plc/freight_feature/usermanagement
add hard capacity ceiling to weight limit rules
2026-07-04 04:13:01 +03:00
Marshal
8ea2c8e95a add hard capacity ceiling to weight limit rules 2026-07-04 01:11:23 +00:00
marshal
21d8b44518 Merge pull request #440 from Tria-plc/freight_feature/usermanagement
enhance booking windows section with pagination and improved UI
2026-07-04 03:43:46 +03:00
Marshal
97cc9d76b1 enhance booking windows section with pagination and improved UI 2026-07-04 00:41:28 +00:00
natib21
6ca99bbb28 Merge branch 'freight/feature/first_mile_invoice' of github.com:Tria-plc/edr-platform into freight/feature/first_mile_invoice 2026-07-04 00:38:58 +00:00
natib21
6bf7371716 fix 2026-07-04 00:37:36 +00:00
yaschalew
1caa188453 Merge branch 'dev' of github.com:Tria-plc/edr-platform into freight/feature/first_mile_invoice 2026-07-04 03:26:58 +03:00
natib21
4994d14002 fix 2026-07-04 00:23:40 +00:00
marshal
4ced5ebef5 Merge pull request #437 from Tria-plc/freight_feature/usermanagement
Freight feature/usermanagement
2026-07-04 02:38:09 +03:00
Marshal
69818ab3f9 add booking window to gl 2026-07-03 23:30:49 +00:00
yaschalew10
ee3657467d Merge pull request #435 from Tria-plc/freight/feature/first_mile_invoice
Freight/feature/first mile invoice
2026-07-04 01:57:06 +03:00
natib21
1d8f095831 fix 2026-07-03 22:43:45 +00:00
natib21
9422e5588e mile 2026-07-03 21:45:54 +00:00
natib21
bc62ce3a8e mile 2026-07-03 21:25:49 +00:00
natib21
6bf8da2934 mile 2026-07-03 21:21:42 +00:00
marshal
9d974bf7a9 Merge pull request #433 from Tria-plc/freight_feature/usermanagement
feat: enhance contract clearance process with linked booking details
2026-07-04 00:05:34 +03:00
Marshal
85c2fd1428 feat: enhance contract clearance process with linked booking details
- Added  and  to  for better visibility of GL-created shipment bookings.
- Implemented  method in  to fetch the latest clearance phase for contracts, improving list responses.
- Introduced  property in the  entity to store the latest clearance cycle's phase.
- Updated  to surface linked booking information in the clearance view.
- Created  component to display detailed container information in booking details.
- Refactored booking actions to remove contract-related actions from the booking request page.
- Enhanced the  component to reflect the current phase of clearance actions.
- Updated UI components to provide clearer messaging regarding the status of clearance and linked bookings.
- Adjusted action handling in  to include duty payment actions.
- Improved the  to show hints for each phase of the clearance process.
2026-07-03 21:04:46 +00:00
natib21
7155ec7e01 mile 2026-07-03 20:59:21 +00:00
natib21
90ab1bd042 mile 2026-07-03 20:51:32 +00:00
natib21
4ddf03e357 mile 2026-07-03 20:43:26 +00:00
natib21
f5e68f5a61 mile 2026-07-03 20:32:39 +00:00
natib21
16bd7fabcc mile 2026-07-03 20:21:16 +00:00
marshal
4147bc8c3f Merge pull request #432 from Tria-plc/freight_feature/usermanagement
Add contractKind field to BookingWindowRow and MyBookingWindow interf…
2026-07-03 23:18:01 +03:00
Marshal
c3f06b6aa9 Add contractKind field to BookingWindowRow and MyBookingWindow interfaces 2026-07-03 20:15:31 +00:00
natib21
77dc14f6a5 mile 2026-07-03 20:00:41 +00:00
yaschalew10
aeb8095809 Merge pull request #431 from Tria-plc/freight/feature/first_mile_invoice
Freight/feature/first mile invoice
2026-07-03 22:59:10 +03:00
natib21
8d17d9111e mile 2026-07-03 19:44:27 +00:00