mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 00:52:50 +00:00
Update arrival to terminal text
This commit is contained in:
@@ -727,7 +727,7 @@ export default function ConfirmationPage() {
|
||||
</div>
|
||||
<div className="p-4 bg-green-50 dark:bg-green-900/30 border border-green-200 dark:border-green-800 rounded-lg">
|
||||
<p className="text-sm text-green-800 dark:text-green-300">
|
||||
✅ Please arrive at the station at least 30 minutes before
|
||||
✅ Please arrive at the station at least 2 hours before
|
||||
departure.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -1927,9 +1927,6 @@ export default function SeatsPage() {
|
||||
? allCoachSeats?.find((s: any) => s.id === assignedSeatId)
|
||||
: null;
|
||||
const seatLabel = assignedSeat ? buildSeatLabel(assignedSeat) : "";
|
||||
const seatFare = assignedSeat
|
||||
? (getSeatFare(assignedSeat) ?? (isPackageBooking ? packageTierPriceMinor ?? null : null))
|
||||
: isPackageBooking && assignedSeatId ? (packageTierPriceMinor ?? null) : null;
|
||||
const isActive = i === activePassengerIndex;
|
||||
const isClickable = i <= maxSelectableIndex;
|
||||
return (
|
||||
@@ -1979,11 +1976,6 @@ export default function SeatsPage() {
|
||||
>
|
||||
{assignedSeat ? `Seat ${seatLabel}` : "Not Assigned"}
|
||||
</span>
|
||||
{assignedSeat && seatFare != null && (
|
||||
<span className="text-[11px] text-gray-500 dark:text-gray-400">
|
||||
ETB {(seatFare / 100 * (isPackageBooking ? 2 : 1)).toFixed(2)}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</button>
|
||||
);
|
||||
|
||||
@@ -174,7 +174,7 @@ export default function HowToGuidePage() {
|
||||
</p>
|
||||
<div className="bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 p-4 rounded-lg">
|
||||
<p className="text-sm text-green-800 dark:text-green-300">
|
||||
📱 Show the QR code at the gate for easy check-in. Arrive at least 30 minutes before departure.
|
||||
📱 Show the QR code at the gate for easy check-in. Arrive at least 2 hours before departure.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -225,7 +225,7 @@ export default function HowToGuidePage() {
|
||||
<div>
|
||||
<h3 className="font-semibold text-gray-900 dark:text-gray-100 mb-2">What should I bring on the day of travel?</h3>
|
||||
<p className="text-sm text-gray-600 dark:text-gray-400">
|
||||
Bring your ticket (digital or printed), valid ID/passport, and arrive 30 minutes before departure.
|
||||
Bring your ticket (digital or printed), valid ID/passport, and arrive 2 hours before departure.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -374,7 +374,7 @@ function drawInstructions(doc: jsPDF, y: number, margin: number, pageWidth: numb
|
||||
doc.text('BEFORE YOU TRAVEL', margin + padX, y + 6, { charSpace: 0.3 });
|
||||
doc.setFont('helvetica', 'normal'); doc.setFontSize(8);
|
||||
doc.text('Present this voucher (printed or on your phone) at the terminal for boarding.', margin + padX, y + 11);
|
||||
doc.text('Please arrive at least 30 minutes before scheduled departure.', margin + padX, y + 15);
|
||||
doc.text('Please arrive at least 2 hours before scheduled departure.', margin + padX, y + 15);
|
||||
|
||||
return y + cardH + 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user