Commit Graph

3893 Commits

Author SHA1 Message Date
marshal
d683f6da9c Merge pull request #891 from Tria-plc/freight_feature/usermanagement
feat(user-management): implement staff reference permissions for vari…
2026-07-22 02:29:55 +03:00
Marshal
d25612c2f0 feat(user-management): implement staff reference permissions for various controllers and update sidebar permissions 2026-07-21 23:25:43 +00:00
marshal
8927f38bfe Merge pull request #890 from Tria-plc/freight_feature/usermanagement
Freight feature/usermanagement
2026-07-22 02:17:00 +03:00
Marshal
835c9e111c feat(train-scheduling): implement container movement between wagons
- Added functionality to move containers between wagons in the train scheduling system.
- Introduced  API endpoint and service method to handle container movement.
- Updated  component to support drag-and-drop for rearranging containers.
- Enhanced  to allow moving containers to other wagons via a context menu.
- Implemented UI feedback for container movement actions, including loading states and success/error notifications.
- Updated relevant types and constants to accommodate new container movement logic.
- Added tests for the rule engine to ensure proper handling of hazardous bookings.
2026-07-21 23:02:06 +00:00
Stephanos A.
981ff24aff Merge pull request #889 from Tria-plc/alpha
Ticket generation issue resolution
2026-07-21 22:29:27 +03:00
Stephanos A
d524f5b7e4 Ticket generation issue resolution 2026-07-21 22:26:26 +03:00
Stephanos A.
079ab549a0 Merge pull request #888 from Tria-plc/alpha
Exclude blocked seats with reason 'Booked in tickets'
2026-07-21 21:41:30 +03:00
Stephanos A
1f01668fee Exclude blocked seats with reason 'Booked in tickets' 2026-07-21 21:39:29 +03:00
Stephanos A.
fc63b46ab7 Merge pull request #887 from Tria-plc/alpha
Blocked seats report updates
2026-07-21 21:21:31 +03:00
Stephanos A
2a40b01651 Blocked seats report updates 2026-07-21 21:19:55 +03:00
mulish77
e4533bcdce Merge pull request #886 from Tria-plc/dev
merge dev to main
2026-07-21 20:19:31 +03:00
Stephanos A.
75d0354a3c Merge pull request #885 from Tria-plc/alpha
Seats report page updates
2026-07-21 18:15:47 +03:00
Stephanos A
053b2ffaf6 Seats report page updates 2026-07-21 18:13:03 +03:00
Hagernesh Tadesse
d327e7b840 Merge pull request #884 from Tria-plc/testfixes
Card called GET /warehouse-inventory (staff perm) → 403 swallowed as
2026-07-21 17:21:42 +03:00
Hagernesh
b54cb2483e Card called GET /warehouse-inventory (staff perm) → 403 swallowed as
empty state. New customer-safe bookings/:id/location endpoint returns
location fields only; card now uses it.
2026-07-21 14:15:56 +00:00
Hagernesh Tadesse
60743ca872 Merge pull request #883 from Tria-plc/testfixes
fix padding on portal
2026-07-21 17:02:45 +03:00
Hagernesh
89d82f45c6 fix padding on portal 2026-07-21 14:01:10 +00:00
mulish77
35221a3128 Merge pull request #882 from Tria-plc/dev
Passengers list not showing
2026-07-21 16:46:10 +03:00
Stephanos A.
33966e9b16 Merge pull request #881 from Tria-plc/alpha
Passengers and seats report updates
2026-07-21 16:39:39 +03:00
Stephanos A
8b713d56eb Passengers and seats report updates 2026-07-21 16:38:02 +03:00
Marshal
00a81fda15 Merge branch 'dev' of github.com:Tria-plc/edr-platform into freight_feature/usermanagement 2026-07-21 13:24:21 +00:00
Marshal
42e5dd3a26 changes 2026-07-21 13:24:05 +00:00
mulish77
4d09d3a5f3 Merge pull request #879 from Tria-plc/dev
Minor change to prod
2026-07-21 16:19:12 +03:00
Nathnael Wondisha
04363ba947 Merge pull request #880 from Tria-plc/freight/feat/cypress
Freight/feat/cypress
2026-07-21 16:18:41 +03:00
mulish77
c8a8153fae Merge pull request #877 from Tria-plc/alpha
Alpha
2026-07-21 16:16:47 +03:00
Nathnael
eb36aab05f chore: enhance the tests 2026-07-21 13:10:44 +00:00
Hagernesh Tadesse
01cec961ed Merge pull request #878 from Tria-plc/testfixes
Mile records are created with advanced_payment
2026-07-21 16:00:08 +03:00
Hagernesh
61e59036cd Browser testing for modern teams
Create tests, debug failures, and improve quality faster than ever. Get AI-powered guidance at every stage of testing, with full code ownership, on a platform that connects your team.
2026-07-21 12:57:37 +00:00
Hagernesh
9da48bd61a fix 2026-07-21 12:57:37 +00:00
Stephanos A
3c46f9b3ec Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha 2026-07-21 15:50:35 +03:00
Stephanos A
281969c94b Seat discrepancy segment-awareness updates 2026-07-21 15:50:25 +03:00
Nathnael
20a6ef7906 chore: more tests 2026-07-21 12:49:36 +00:00
Muluhabt
7e6778d025 Adding all the tests and fixes to the passengers app 2026-07-21 15:26:29 +03:00
marshal
ca8a7602ef Merge pull request #876 from Tria-plc/freight_feature/usermanagement
changes
2026-07-21 15:15:19 +03:00
Marshal
07c390a3b2 changes 2026-07-21 12:14:47 +00:00
Nathnael
d95af0ea72 style: show the profile and the review ont the settings 2026-07-21 12:13:18 +00:00
Hagernesh Tadesse
92f157f0b4 Merge pull request #875 from Tria-plc/testfixes
per-truck EDR handover signing with auto-delivery on completion
2026-07-21 15:02:02 +03:00
Hagernesh
7566c57ed9 feat(warehouses): per-truck EDR handover signing with auto-delivery on completion
EDR truck gate-out now generates a per-truck handover (new
edr_assignment_id link) and notifies the customer to sign from the
portal. New sign endpoint delivers the signed truck's containers; last
signature auto-delivers remaining inventory, frees trucks and completes
the booking via import.handover.completed. Adds gate-in truck-arrival
notification and per-truck handover PDFs.
2026-07-21 11:55:18 +00:00
Hagernesh
86569f7490 Customer portal card displays warehouse location data (warehouse/yard/zone + arrival time) once cargo arrives at warehouse. Shows loading state during fetch, placeholder text if not yet received. Type-check passes. 2026-07-21 11:55:18 +00:00
Hagernesh
ed503f1e6b feat(portal): show warehouse location for arrived cargo
Display cargo warehouse location (warehouse, yard, zone, arrival time) on
the portal booking detail page once the cargo has been received and
assigned to a warehouse location.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-21 11:55:18 +00:00
robiman
f9607a58c3 Merge pull request #874 from Tria-plc/alpha
Fix ticket generation
2026-07-21 14:53:44 +03:00
Roba Boru
34563e078e Fix ticket generation 2026-07-21 14:52:17 +03:00
Roba Boru
3af0e70db5 Merge branch 'main' of https://github.com/Tria-plc/edr-platform into alpha 2026-07-21 14:18:47 +03:00
Stephanos A.
9d78610a91 Merge pull request #873 from Tria-plc/alpha
Passengers list report updates
2026-07-21 14:09:11 +03:00
Stephanos A
79629d1819 Passengers list report updates 2026-07-21 14:06:46 +03:00
Hagernesh Tadesse
55d266941e Merge pull request #872 from Tria-plc/testfixes
Warehouse Cards count fix
2026-07-21 14:05:53 +03:00
Hagernesh
1fae0752a0 Ticket: Warehouse dashboard Needs Attention cards — fix trucks-on-site aging counters (EDR trucks, UNLOADED status) and make each card open the exact list behind its count via new inventory drill-down filters. 2026-07-21 11:03:40 +00:00
Hagernesh
b616f520ae feat(fleet): validate vehicle plate numbers against a letters-and-digits format
Plate, power-plate and trailer accepted any free text — a vehicle could be
saved with a plate of "assadasd". They must be letters, a hyphen, then digits,
like ET-9875 or AA-8642.

The server now enforces it on CreateVehicleDto (and UpdateVehicleDto via
PartialType): each plate is trimmed and upper-cased, then matched against
^[A-Z]{2,3}-\d{2,6}$, so "et-9875" is accepted and stored as ET-9875 while an
empty optional trailer/power plate still passes.

The fleet form gains the same check inline: FleetFormFieldDef takes an optional
pattern, the dialog tests it on submit against the upper-cased value, and the
vehicle config points plate and trailer at a regex that mirrors the server's.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 11:03:40 +00:00
Nathnael
b8b8c4adf7 feat(e2e): add freight e2e docker-compose stack with isolated services 2026-07-21 11:00:02 +00:00
Muluhabt
f2ae9c883f Adding all the tests and fixes to the passengers app 2026-07-21 13:45:49 +03:00