mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Update page.tsx
This commit is contained in:
@@ -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 }),
|
||||
|
||||
Reference in New Issue
Block a user