Commit Graph

662 Commits

Author SHA1 Message Date
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
mulish77
c7af33028e Merge pull request #818 from Tria-plc/main
Main
2026-07-19 21:58:28 +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
Abubeker Yasin
5317ca0d19 feat: ( users ) seed ticket officer and director users 2026-07-19 18:57:31 +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
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
Nathnael
bdcd5e957e feat: setup the attachment to the passenger api 2026-07-18 09:44:14 +00: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