From 48c30d59f63af105eaf824ac6674de6e414db9bf Mon Sep 17 00:00:00 2001 From: Abubeker Yasin Date: Sat, 11 Jul 2026 12:15:00 +0300 Subject: [PATCH] Update page.tsx --- .../portal/src/app/booking/review/page.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/edr-passenger-web/portal/src/app/booking/review/page.tsx b/apps/edr-passenger-web/portal/src/app/booking/review/page.tsx index e4ab0a913..84a1d995f 100644 --- a/apps/edr-passenger-web/portal/src/app/booking/review/page.tsx +++ b/apps/edr-passenger-web/portal/src/app/booking/review/page.tsx @@ -402,6 +402,12 @@ export default function ReviewPage() { passportNumber: !isEthiopian ? (p.passportNumber || '') : '', passportCountry: !isEthiopian ? (p.passportCountry || '') : '', nationality: p.nationality, + // Forward the contact details collected on the passengers page. The backend + // stores the first passenger's phone/email as the booking's contactPhone/ + // contactEmail, which the notifications service uses to send the booking SMS + // and email. Omitting these leaves contactPhone null → "No SMS phone" warning. + ...(p.phone ? { phone: p.phone } : {}), + ...(p.email ? { email: p.email } : {}), ...(isRoundTrip ? { seatFareMinor: (p as any).outboundSeatFareMinor ?? undefined, returnSeatFareMinor: (p as any).inboundSeatFareMinor ?? undefined } : { seatFareMinor: p.seatFareMinor ?? undefined }),