Commit Graph

3570 Commits

Author SHA1 Message Date
Abubeker Yasin
3d1b06b7ee fix: ( payment ) prevent duplicate booking charges and fix D-Money queryOrder 2026-07-24 13:51:53 +03:00
Stephanos A
e2bdc21c95 Payment report and missing ticket generation updates 2026-07-23 07:27:05 +03:00
Stephanos A
614fab806d Build issue resolution 2026-07-22 19:50:49 +03:00
Stephanos A
e9a43fe454 Hidden package quick info 2026-07-22 19:24:55 +03:00
Stephanos A
af28abb0f0 Hide package seats 2026-07-22 18:59:55 +03:00
Stephanos A
62fcf6a8d2 Passenger portal build issue resolution 2026-07-22 16:31:03 +03:00
Stephanos A
1cb9666796 Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha 2026-07-22 16:19:16 +03:00
Stephanos A
e5be205bd8 Informational updates 2026-07-22 16:18:58 +03:00
Abubeker Yasin
1382910508 fix: ( payment ) stop re-finalizing already-completed payments on intent read 2026-07-22 15:41:34 +03:00
Stephanos A
c6f6616218 Restore ticket generation guard 2026-07-22 14:31:27 +03:00
Stephanos A
7ff98bfb81 Ticketing seats conflict issue resolution 2026-07-22 14:28:47 +03:00
Stephanos A
2632e2d50c Ticketing updates 2026-07-22 14:06:00 +03:00
Stephanos A
698dbd47e6 Ticket generation updates 2026-07-22 13:43:38 +03:00
Stephanos A
44b4779ca6 Ticketing updates 2026-07-22 12:54:21 +03:00
Stephanos A
e0dc60361a Ticket generate on confirmation update 2026-07-22 12:17:51 +03:00
Stephanos A
32e1c5e570 Schedule date and time picket updates 2026-07-22 11:44:24 +03:00
Stephanos A
e45c1bcfe2 Ticket generation issue resolution 2026-07-22 11:15:30 +03:00
Stephanos A
de17365802 Separate ticket generation for portal and back office 2026-07-22 11:06:16 +03:00
Stephanos A
e6e2c88054 Ticket number on voucher updates 2026-07-22 10:44:48 +03:00
Stephanos A
838cedae0d Ticket generation updates 2026-07-22 10:29:48 +03:00
Stephanos A
0d8e122de7 Ticket generation updates 2026-07-22 08:51:33 +03:00
Stephanos A
c923c88983 Tables gagination updates 2026-07-22 08:02:23 +03:00
Stephanos A
7e670ab5bb Passenger and seats reports updates 2026-07-22 07:15:49 +03:00
Stephanos A
d524f5b7e4 Ticket generation issue resolution 2026-07-21 22:26:26 +03:00
Stephanos A
1f01668fee Exclude blocked seats with reason 'Booked in tickets' 2026-07-21 21:39:29 +03:00
Stephanos A
2a40b01651 Blocked seats report updates 2026-07-21 21:19:55 +03:00
Stephanos A
053b2ffaf6 Seats report page updates 2026-07-21 18:13:03 +03:00
Stephanos A
8b713d56eb Passengers and seats report updates 2026-07-21 16:38:02 +03: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
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
marshal
2349f62247 Merge pull request #871 from Tria-plc/freight_feature/usermanagement
Implement intercity document handling and rejection notes for contracts
2026-07-21 13:40:09 +03:00
Marshal
9ca4075c1e Implement intercity document handling and rejection notes for contracts 2026-07-21 10:39:21 +00:00
marshal
5e4be7e299 Merge pull request #870 from Tria-plc/freight_feature/usermanagement
Freight feature/usermanagement
2026-07-21 13:26:16 +03:00
Marshal
6f8456631c Implement intercity document handling and rejection notes for contracts 2026-07-21 10:20:36 +00:00
Marshal
ceb32e0a80 Implement intercity document handling and rejection notes for contracts 2026-07-21 10:15:18 +00:00
Hagernesh Tadesse
d1c5888153 Merge pull request #868 from Tria-plc/testfixes
Fleet management cards
2026-07-21 12:27:03 +03:00
Hagernesh
92a0cc197b feat(fleet): make the dashboard stat cards link to their detail
The four headline cards — total vehicles, drivers, fuel spend, maintenance —
were static numbers with no way through to the list behind them. Each now takes
an optional href and, when set, wraps in a link to its detail page (vehicles,
drivers, fuel purchases, maintenance). A card without an href stays exactly as
before. The Card is wrapped rather than turned into a link so Mantine's Card
typing stays clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 09:22:47 +00:00
Hagernesh
64a4bcbd5c feat(warehouse): make the ops KPI cards link to their detail
The dashboard counters were static — "Trucks on-site" showed a number with no
way to open the list behind it, same for the others. KpiStrip now takes an
optional href per item: a cell with one becomes a link (pointer, hover tint,
aria-label) and a cell without one stays exactly as before, so every existing
strip is unaffected.

The warehouse ops strip wires each card to its detail: trucks on-site to the
Trucks on Site page, received-today and pending-inspection to the inventory
board filtered to RECEIVED, items-aging to the inventory board.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 09:22:46 +00:00
Abubeker Yasin
f39aad1d7f fix: ( bookings ) make BookingSeat.scheduleId optional to fix P2032 on booking read 2026-07-21 11:57:03 +03:00
Marshal
603537a20b add yard distances management to rule engine
- Introduced new yard distances resource with CRUD operations.
- Created migration for yard distances table with necessary constraints.
- Implemented service and repository for yard distances handling.
- Added controller for API endpoints to manage yard distances.
- Updated rule engine configuration to include yard distances.
- Enhanced rule engine resource page to support yard distance selection.
- Updated contracts and train builder pages to handle new yard distance logic.
- Added error handling utility for better error message extraction.
2026-07-21 08:50:50 +00:00
Hagernesh Tadesse
627b7b86f2 Merge pull request #867 from Tria-plc/testfixes
Onsite truck
Fixed
The page now lists every truck assigned to a booking that hasn't departed, both haulage paths, tagged:

On site — arrived, not departed (green)
Inbound — assigned, not yet arrived (grey)
2026-07-21 11:50:15 +03:00
Hagernesh Tadesse
828a52312e Merge pull request #866 from Tria-plc/dev
Trucks onsite
2026-07-21 11:45:47 +03:00
Sennay
803f721746 Merge pull request #865 from Tria-plc/fix/add-source-maps
Fix/add source maps
2026-07-21 11:32:50 +03:00