JLG Metro Season Parking Portal
Dear {{ $transaction->customer_name ?: ($transaction->seasonPass?->customer_name ?: 'Valued Customer') }},
Thank you for your payment. Your season parking payment has been confirmed and verified. Barrier gate access for your registered vehicle(s) is active.
| Official Receipt No: | {{ $transaction->invoice_no ?: $transaction->external_transaction_id }} |
|---|---|
| Transaction Reference: | {{ $transaction->reference_no }} |
| Season Pass Code: | {{ $transaction->seasonPass?->external_season_id ?: '-' }} |
| Parking Site: | {{ $transaction->site?->site_name ?: ($transaction->seasonPass?->carpark_name ?: '-') }} |
| Payment Method: | @php $methodKey = strtolower((string) $transaction->payment_method); $methodLabel = match ($methodKey) { 'online_gateway' => 'Online Payment Gateway (FPX / Card)', 'direct_debit' => 'Direct Debit (FPX)', 'bank_transfer', 'manual_transfer' => 'Bank Transfer (Manual)', 'cash' => 'Cash', 'cheque' => 'Cheque', default => ucwords(str_replace('_', ' ', $methodKey ?: 'Online Payment')), }; @endphp {{ $methodLabel }} |
| Payment Date: | {{ $transaction->payment_date ? $transaction->payment_date->format('d/m/Y H:i') : ($transaction->approved_at ? $transaction->approved_at->format('d/m/Y H:i') : now()->format('d/m/Y H:i')) }} |
| Coverage Period: | @if ($transaction->period_start && $transaction->period_end) {{ $transaction->period_start->format('d/m/Y') }} → {{ $transaction->period_end->format('d/m/Y') }} @elseif ($transaction->seasonPass?->start_date && $transaction->seasonPass?->end_date) {{ $transaction->seasonPass->start_date->format('d/m/Y') }} → {{ $transaction->seasonPass->end_date->format('d/m/Y') }} @else - @endif |
| Allocated Bays & Plates: |
@php
$bays = $transaction->seasonPass?->bays && $transaction->seasonPass->bays->isNotEmpty()
? $transaction->seasonPass->bays->sortBy('bay_number')
: collect();
@endphp
@if ($bays->isNotEmpty())
@foreach ($bays as $bay)
Bay #{{ $bay->bay_number }} ({{ $bay->bay_code }}):
@php $plates = $bay->plates; @endphp
@if (!empty($plates))
@foreach ($plates as $p)
{{ $p }}
@endforeach
@else
-
@endif
@endforeach
@elseif ($transaction->seasonPass)
{{ $transaction->seasonPass->vehicle_no_1 ?: '-' }}
@if ($transaction->seasonPass->vehicle_no_2)
{{ $transaction->seasonPass->vehicle_no_2 }}
@endif
@else
-
@endif
|
| Barrier Access Valid Until: | {{ $transaction->seasonPass?->end_date ? $transaction->seasonPass->end_date->format('d/m/Y') : ($transaction->period_end ? $transaction->period_end->format('d/m/Y') : '-') }} |
You can access the portal at any time to check payment history, update vehicle plates, or print receipts. If you have any questions, please reply to this email or contact the parking management office.