Commit Graph

541 Commits

Author SHA1 Message Date
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
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
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
Abubeker Yasin
f39aad1d7f fix: ( bookings ) make BookingSeat.scheduleId optional to fix P2032 on booking read 2026-07-21 11:57:03 +03:00
SennayT
4914288c03 Enable source maps in Node command for better stack trace debugging 2026-07-21 08:30:52 +00:00
Roba Boru
119f841aba Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha 2026-07-21 00:24:52 +03:00
Roba Boru
be933c2c0d Revert departure and arrival datetime of stops 2026-07-21 00:24:32 +03:00
Stephanos A
24872df0ba Payment discrepancy paid amount update 2026-07-20 23:20:26 +03:00
Stephanos A
ec35b7d65e Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha 2026-07-20 23:09:49 +03:00
Stephanos A
2deb5a4a8e Payment discrepancy fixes 2026-07-20 23:09:06 +03:00
Roba Boru
2f52471fad Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha 2026-07-20 23:08:47 +03:00
Roba Boru
296e3af7dd Fix package price 2026-07-20 23:08:32 +03:00
Stephanos A
eabc15eebf Payment discrepancy report updates 2026-07-20 22:48:50 +03:00
Stephanos A
19fe977f40 Payment discrepancy report updates 2026-07-20 22:15:32 +03:00
Stephanos A
99eb35ff75 Payment discrepancy report updates 2026-07-20 21:50:34 +03:00
Roba Boru
ef2fb2e05c Expand to show multiple passengers in payment discrepancy 2026-07-20 16:10:28 +03:00
Roba Boru
bc4c085d95 Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha 2026-07-20 15:50:29 +03:00
Roba Boru
1e7324d276 Added payment discrepancy report 2026-07-20 15:50:03 +03:00
Abubeker Yasin
800e1e21ed fix: (payment ) store fractional payment intent amounts 2026-07-20 15:47:37 +03:00
Nathnael Wondisha
f41463748d Merge pull request #788 from Tria-plc/freight/feat/chat-app
Freight/feat/chat app added attachment
2026-07-20 11:23:16 +03:00
Stephanos A.
8d7a914ab7 Merge branch 'dev' into quick-fix-main 2026-07-20 00:42:25 +03:00
Stephanos A
c62491b236 Reports (overall, seats report, passenger export) updates 2026-07-20 00:37:10 +03:00
Roba Boru
3293040438 Merge branch 'main' of https://github.com/Tria-plc/edr-platform into alpha 2026-07-20 00:19:31 +03:00
Stephanos A
57390647d8 Search schedule update 2026-07-19 23:57:16 +03:00
Stephanos A
8e84fcebd5 Passenger list report filter updates 2026-07-19 22:52:23 +03:00
Roba Boru
a6e4f0538c Merge branch 'main' of https://github.com/Tria-plc/edr-platform into alpha 2026-07-19 22:48:46 +03:00
Roba Boru
d43229528e Fix price inconsistency 2026-07-19 22:46:36 +03:00
Stephanos A
eb41f4bb5f Merge branch 'quick-fix-main' of github.com:Tria-plc/edr-platform into quick-fix-main 2026-07-19 21:03:27 +03:00
Stephanos A
264206b57a Passenger report updates 2026-07-19 20:58:00 +03:00
Roba Boru
f57f8d4550 Fix blocked seat count on booking result 2026-07-19 18:50:37 +03:00
Roba Boru
1e08f98705 Fix migration 2026-07-19 18:29:23 +03:00
Roba Boru
1804fba5bb debug(passenger-api): expose Prisma error code in 500 response body
Adds prismaCode and prismaMeta fields to 500 responses so the exact
Prisma error code (P2022, P2023, etc.) is visible in curl/Swagger without
needing server log access. Temporary diagnostic aid.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-19 18:18:08 +03:00
Roba Boru
85cd6cdf2a fix(passenger-api): repair StopStatus enum values in deployed DB
The init migration created StopStatus with UPCOMING/APPROACHING/CURRENT/COMPLETED.
Migration 20260717000001 was an empty no-op file that claimed the rename was
"applied directly", but the ALTER TYPE RENAME VALUE SQL was never executed on
deployed environments. TripStopTime rows with status='UPCOMING' cause P2023
(PrismaClientKnownRequestError) on every search call that includes stopTimes.

This idempotent migration checks pg_enum before renaming so it is safe to run
whether or not the rename was previously applied.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-19 17:54:06 +03:00
Stephanos A
80915f94ec Passenger reports filter updates 2026-07-19 17:21:44 +03:00
Roba Boru
df992eb794 fix: add partial WHERE clause to JourneySegment unique index migration
Without WHERE ("seatId" IS NOT NULL) the index creation fails in
environments that have JourneySegment rows with NULL seatId sharing
the same (scheduleId, departureStationId), which aborts the CI/CD
pipeline before the API server restarts.  Also adds the passenger.
schema prefix to match the DELETE statement above it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-19 17:10:57 +03:00
Stephanos A
856d143874 Reports update 2026-07-19 09:16:36 +03:00
Stephanos A
93c583edf6 Report number updates 2026-07-19 08:07:59 +03:00
Roba Boru
03a22c372e Merge branch 'main' of https://github.com/Tria-plc/edr-platform into alpha 2026-07-18 21:57:05 +03:00