remove fare from seat selection summary

This commit is contained in:
Roba Boru
2026-07-14 22:59:46 +03:00
parent 0aed560296
commit ae2db7feb4

View File

@@ -1927,7 +1927,6 @@ export default function SeatsPage() {
? allCoachSeats?.find((s: any) => s.id === assignedSeatId) ? allCoachSeats?.find((s: any) => s.id === assignedSeatId)
: null; : null;
const seatLabel = assignedSeat ? buildSeatLabel(assignedSeat) : ""; const seatLabel = assignedSeat ? buildSeatLabel(assignedSeat) : "";
const seatFare = assignedSeat ? getSeatFare(assignedSeat) : null;
const isActive = i === activePassengerIndex; const isActive = i === activePassengerIndex;
const isClickable = i <= maxSelectableIndex; const isClickable = i <= maxSelectableIndex;
return ( return (
@@ -1977,11 +1976,6 @@ export default function SeatsPage() {
> >
{assignedSeat ? `Seat ${seatLabel}` : "Not Assigned"} {assignedSeat ? `Seat ${seatLabel}` : "Not Assigned"}
</span> </span>
{assignedSeat && seatFare != null && (
<span className="text-[11px] text-gray-500 dark:text-gray-400">
{currentSchedule?.displayCurrency || 'ETB'} {(seatFare / 100 * (isPackageBooking ? 2 : 1)).toFixed(2)}
</span>
)}
</div> </div>
</button> </button>
); );