| ID @if ($sortBy === 'id') @if ($sortDirection === 'asc') @else @endif @else @endif | Pass Name | Vehicle Plate @if ($sortBy === 'vehicle_no') @if ($sortDirection === 'asc') @else @endif @else @endif | Date Range | Amount @if ($sortBy === 'amount') @if ($sortDirection === 'asc') @else @endif @else @endif | Status | Purchased On @if ($sortBy === 'created_at') @if ($sortDirection === 'asc') @else @endif @else @endif | Action | |
|---|---|---|---|---|---|---|---|---|
| {{ $purchase->id }} | {{ $purchase->seasonPass->pass_name ?? 'N/A' }} | {{ $purchase->vehicle_no ?? 'N/A' }} | {{ $purchase->start_date?->format('d/m') ?? 'N/A' }} - {{ $purchase->end_date?->format('d/m/Y') ?? 'N/A' }} | RM {{ number_format($purchase->amount, 2) }} | {{ ucfirst($purchase->status ?? 'N/A') }} | {{ $purchase->created_at?->format('d/m/Y') ?? 'N/A' }} | {{-- Action Column in Season/Reserve Table --}}{{-- Edit button --}} {{-- Delete button --}} | |
| No Season Pass purchases found. | ||||||||
Are you sure you want to delete this record? This action cannot be undone.