Commit Graph

139 Commits

Author SHA1 Message Date
Abubeker Yasin
861900dc1b Merge pull request #1338 from Tria-plc/alpha
feat: ( audit ) resolve the actor from the session and audit all back…
2026-08-18 16:19:15 +03:00
Abubeker Yasin
0eb64ad9a1 feat: ( audit ) resolve the actor from the session and audit all backoffice mutations 2026-08-18 15:13:22 +03:00
Roba Boru
aa850146dc Fix price on voucher 2026-08-14 08:22:50 +03:00
Mulu Mehari
f0295f401a Adding seat blocking revenue loss dashboard 2026-08-02 23:08:15 +03:00
Abubeker
37855b0a83 feat: ( payment ) implement cbe payment 2026-07-31 07:50:10 +00:00
Muluhabt
2a0fd9bda5 Adding ticket generation and booking for staff employees logic 2026-07-25 11:20:47 +03:00
Muluhabt
64e1130f7d Commiting stop based booking 2026-07-23 20:11:11 +03:00
Muluhabt
8bba882710 Adding stop based booking configuration 2026-07-23 20:03:35 +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
Abubeker Yasin
fd55b5c253 Merge pull request #838 from Tria-plc/alpha
fix: (payment ) store fractional payment intent amounts
2026-07-20 15:49:22 +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
Roba Boru
1e08f98705 Fix migration 2026-07-19 18:29:23 +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
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
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
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
56057a1e16 Migration conflict issues resolution 2026-07-18 12:31:19 +03:00
Stephanos A
282bb949ba Migration issue resolution 2026-07-18 11:45:35 +03:00
Stephanos A
854177c93b Seat reservation unique constrains, package totalMinor updates 2026-07-18 11:30:43 +03:00
Roba Boru
738b7df5cf Added Checkin duration configuration 2026-07-17 22:12:54 +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
e3075d1486 Seats holding, booking, blocking inconsistencies resolution 2026-07-16 19:28:00 +03:00
Stephanos A
a852b4e619 Seats report, supplementary change for bookings added 2026-07-16 11:43:04 +03:00
Abubeker Yasin
ef5d643ba4 feat: ( redirect ) add redirect url based on the domain name 2026-07-14 14:16:48 +03:00
Abubeker Yasin
8424d3bc7f feat: ( payment ) wire CAC Bank OTP flow through passenger-api, portal, and backoffice 2026-07-13 14:13:31 +03:00
Stephanos A
acc93aeffc UAT fixes and enhancements 2026-07-10 10:33:36 +03:00
Nathnael
24fc27854a chore: db migration 2026-07-07 14:06:38 +00:00
Nathnael
b949d8fd4c chore: add guest support to the schema 2026-07-07 14:06:31 +00:00
Nathnael
17b7a4f6dc chore: update the supportconversation schema 2026-07-07 13:26:59 +00:00
Stephanos A
9b6423392b UAT issues resolution 2026-07-06 16:30:48 +03:00
Stephanos A
21122069a5 Departure station added to package bookings, and other fixes 2026-07-05 19:17:55 +03:00
Stephanos A
595be6e123 Tour package booking, app release, new endpoints, more updates and fixes 2026-07-05 00:28:06 +03:00
Stephanos A
200476dfd6 Fare and route-coach, production checklist updates 2026-07-02 22:42:15 +03:00
Abubeker Yasin
35a2a200d6 fix: ( migration ) clean up migrations 2026-06-30 11:11:50 +03:00
Stephanos A
c52b02ef72 Move the fix before the failing migration 2026-06-29 23:27:36 +03:00
Stephanos A
7d8e19b37d Fix failed migration state 2026-06-29 23:19:10 +03:00
Stephanos A
8c2a2e34bf Migration issue resolution - individual ticket no timezone 2026-06-29 23:08:27 +03:00
Roba Boru
0b4e3d7817 Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha 2026-06-29 16:37:37 +03:00
Roba Boru
4c153b0e3b Update payment methods and cron job for payment cancellation 2026-06-29 16:37:01 +03:00
Abubeker Yasin
079351f7c4 fix: migration problem 2026-06-29 15:05:46 +03:00
Stephanos A
f8810253ff Migration fix 2026-06-29 12:42:37 +03:00
Stephanos A
c6e56d1c4f Boarding, payment methods, journey direction on seat hold, and more updates 2026-06-29 08:44:38 +03:00
Stephanos A
86c7b2e4eb Package inquiry, UAT related update 2026-06-26 13:57:26 +03:00
Stephanos A
5a1ae88397 Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha 2026-06-25 20:10:54 +03:00