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
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
Roba Boru
03a22c372e
Merge branch 'main' of https://github.com/Tria-plc/edr-platform into alpha
2026-07-18 21:57:05 +03:00
Roba Boru
7f0e28781c
Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha
2026-07-18 21:53:16 +03:00
Roba Boru
c1858e76d4
Added stops departure and arrival datetime
2026-07-18 21:51:54 +03:00
Stephanos A
4805a54bf7
Report figures correction updates
2026-07-18 20:16:24 +03:00
Stephanos A
554baf2595
Build issue resolution
2026-07-18 19:51:27 +03:00
Stephanos A
e84ab9e2b5
Passenger list report
2026-07-18 18:59:02 +03:00
Stephanos A
f366e834e7
Migration issue resolution
2026-07-18 18:05:41 +03:00
Stephanos A
594aaf17ab
Migration issue resolution
2026-07-18 17:53:44 +03:00
Stephanos A
e55dd01c50
Migration issues resolution
2026-07-18 12:47:05 +03:00
Stephanos A
cca822cab8
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-18 12:31:28 +03:00
Stephanos A
56057a1e16
Migration conflict issues resolution
2026-07-18 12:31:19 +03:00
Stephanos A
8f0670ff9c
Passengers report
2026-07-18 12:27:59 +03:00
Abubeker Yasin
aecd02933c
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-18 11:46:29 +03:00
Stephanos A
282bb949ba
Migration issue resolution
2026-07-18 11:45:35 +03:00
Stephanos A
af39ab0394
Migration issue resolution
2026-07-18 11:44:11 +03:00
Stephanos A
854177c93b
Seat reservation unique constrains, package totalMinor updates
2026-07-18 11:30:43 +03:00
Abubeker Yasin
4806768cea
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-18 09:55:31 +03:00
Abubeker Yasin
85de05cb40
feat: ( payments ) add merchant-order and booking/PNR payment status lookups
2026-07-18 09:55:09 +03:00
Stephanos A
8eb0582e4e
Dashboard, seats report, package pricing updates
2026-07-18 00:34:12 +03:00
Stephanos A
eee14a5051
Package pricing issue resolution, passenger report updates
2026-07-17 23:48:49 +03:00
Stephanos A
1d9238fa39
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-17 23:20:10 +03:00
Stephanos A
f2c037a5b7
Package pricing issue resolution, passenger report, tickets filter updates
2026-07-17 23:18:52 +03:00
Roba Boru
4a4e58043f
Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha
2026-07-17 22:13:13 +03:00
Roba Boru
738b7df5cf
Added Checkin duration configuration
2026-07-17 22:12:54 +03:00
Muluhabt
ffafd9bcfc
Steph payment isssues fix
2026-07-17 19:50:35 +03:00
Stephanos A
2567e25173
Supplementary amount issue resolution
2026-07-17 19:47:11 +03:00
Roba Boru
610580e15e
Added discrepancy management for duplicate seats
2026-07-17 10:20:35 +03:00
Roba Boru
ea8f91a415
Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha
2026-07-17 08:43:08 +03:00
Roba Boru
2366b28610
remove the cron job
2026-07-17 08:42:42 +03:00
Stephanos A
f3c0fd6cbb
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-17 00:49:50 +03:00
Stephanos A
e59b797477
Minor updates
2026-07-17 00:49:35 +03:00
Roba Boru
969c524afe
Added cron job that check duplicate seat and assign if free available
2026-07-16 23:22:20 +03:00
Stephanos A
ef37ce4c31
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-16 21:31:13 +03:00
Abubeker Yasin
718c384a06
Update tickets.controller.ts
2026-07-16 21:15:10 +03:00
Stephanos A
17c0123161
Add unique constraint to JourneySegment for seat bookings per schedule
2026-07-16 21:10:02 +03:00
Stephanos A
3726ac8390
Add seat block schedule id for consistency
2026-07-16 20:11:42 +03:00
Stephanos A
8ae327e779
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-16 19:28:12 +03:00
Stephanos A
e3075d1486
Seats holding, booking, blocking inconsistencies resolution
2026-07-16 19:28:00 +03:00
Abubeker Yasin
cc56ad7748
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-16 15:37:25 +03:00
Abubeker Yasin
e0abfddf10
Update payment-events.consumer.ts
2026-07-16 15:36:02 +03:00
Roba Boru
fa7a517410
Fallback cron job for ticketing if rabbitmq disconnected.
2026-07-16 14:34:53 +03:00
Stephanos A
b2ab65245a
totalMinor with displayTotalMinor updates
2026-07-16 13:38:34 +03:00
Abubeker Yasin
8b7f4dc563
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-16 12:06:00 +03:00
Abubeker Yasin
c6ca5ed8e8
add provider detail on the
2026-07-16 12:05:47 +03:00
Stephanos A
8a77f23701
Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha
2026-07-16 11:43:14 +03:00
Stephanos A
a852b4e619
Seats report, supplementary change for bookings added
2026-07-16 11:43:04 +03:00
Abubeker Yasin
edbef5ccf2
add permissions
2026-07-16 11:01:31 +03:00