@foreach ($paketCards as $paketCard)
@include('partials.paket-card', ['paket' => $paketCard])
@endforeach
@endif
@if ($hasPaketOffer)
{{-- Paket confirm modal: filled from the clicked card's data-* by the script below. --}}
@endif
@foreach ($paketOrders as $paketOrder)
{{-- QRIS of a pending paket order. DUMMY for now: Complete and Cancelled stand in for the payment provider. --}}
@endforeach
@endsection
@push('styles')
@endpush
@push('scripts')
{{-- Paket scripts only when a paket modal is on the page. --}}
@if (($paketOrders ?? collect())->isNotEmpty())
@endif
@if (($hasPaketOffer ?? false) || ($paketOrders ?? collect())->isNotEmpty())
@endif
@endpush