mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 03:05:42 +00:00
remove fare from seat selection summary
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user