WhatsApp +91 8138918585

Plan Your Sabarimala Journey

Book Packages, Comfortable Travel & Hassle-Free Experience

{{ $packagePrice->package->title }} - {{ $packagePrice->startingPoint->name }} → Sabarimala

Bus: {{ $packagePrice->busType->name }} | Price per seat: ₹{{ $packagePrice->price }}

@csrf @php $seats = $packagePrice->busType->seats->values(); $first44 = $seats->slice(0, 44)->chunk(4); // 11 rows of 4 $lastRow = $seats->slice(44); // row 12 (5 seats) @endphp
{{-- Rows 1–11 (2+2 with aisle) --}} @for ($row = 0; $row < 11; $row++)
{{-- Left 2 seats --}} @for ($col = 0; $col < 2; $col++) @php $seat = $seats->get($row * 4 + $col); @endphp @if ($seat)
id, $bookedSeatIds) ? 'disabled' : '' }}>
@endif @endfor
{{-- GAP in center --}} {{-- Right 2 seats --}} @for ($col = 2; $col < 4; $col++) @php $seat = $seats->get($row * 4 + $col); @endphp @if ($seat)
id, $bookedSeatIds) ? 'disabled' : '' }}>
@endif @endfor
@endfor {{-- Row 12 (5 seats straight, no gap) --}}
@for ($i = 44; $i < $seats->count(); $i++) @php $seat = $seats->get($i); @endphp
id, $bookedSeatIds) ? 'disabled' : '' }}>
@endfor