@if (!$submitted) {{-- HEADER / HERO CARD --}}
Public Registration Portal

Season Pass Registration Form

Please complete the details below to apply for a season parking pass. Your application will be reviewed by parking management and a secure payment link will be emailed to you upon approval.

{{-- SECTION 1: SUBSCRIPTION CATEGORY & LOCATION --}}
1 Subscription Category, Location & Duration
{{-- Customer Type Switcher (Individual vs Corporate) --}}
{{-- Parking Site Selection --}}
@error('site_id')
{{ $message }}
@enderror
{{-- Number of Bays --}}
@if ($customer_type === 'individual')
• Individual accounts are fixed to 1 Bay per registration. To apply for additional bays, please submit a separate registration. @else
Bays
Corporate tiered pricing applies (supports up to 100 bays). @endif @error('no_of_bays')
{{ $message }}
@enderror
{{-- Start Date --}}
@error('start_date')
{{ $message }}
@enderror
{{-- Duration Months (Locked to Month-End for First-Time Registration) --}}
🔒 Coverage ends on month-end. Start date on 1st–15th: Full payment. Start date on 16th–end of month: 50% half-price. @error('duration_months')
{{ $message }}
@enderror
{{-- Calculation Summary Box with Rate Breakdown --}}
{{ $customer_type === 'corporate' ? 'Corporate Rate' : 'Individual Rate' }} {{ $tier_name }} @if ($this->isProratedHalf) 50% Price @endif
Base Rate: RM {{ number_format($this->effectiveBaseRate, 2) }} + SST (6%): RM {{ number_format($this->effectiveTaxAmount, 2) }} = RM {{ number_format($this->effectiveMonthlyRate, 2) }} / bay @if ($this->isProratedHalf) (Standard: RM {{ number_format($monthly_rate, 2) }}) @endif
Validity: {{ $start_date ? \Carbon\Carbon::parse($start_date)->format('d/m/Y') : '-' }} to {{ $this->endDate ? \Carbon\Carbon::parse($this->endDate)->format('d/m/Y') : '-' }} ({{ $this->isProratedHalf ? 'Half Month (50% Prorated)' : 'Full Month' }} × {{ $no_of_bays ?: 1 }} {{ ($no_of_bays ?: 1) > 1 ? 'Bays' : 'Bay' }})
Estimated Total Amount
RM {{ number_format($this->totalAmount, 2) }}
(Payment is submitted upon administrator approval)
{{-- SECTION 2: APPLICANT DETAILS --}}
2 Applicant Details ({{ $customer_type === 'corporate' ? 'Company / Corporate' : 'Individual' }})
{{-- Full Name --}}
@error('customer_name')
{{ $message }}
@enderror
{{-- Registration / IC Number --}}
@error('registration_no')
{{ $message }}
@enderror
{{-- Email --}}
Approval notifications & payment link will be sent to this email. @error('email')
{{ $message }}
@enderror
{{-- Phone --}}
@error('phone')
{{ $message }}
@enderror
{{-- Proof of Employment Attachment --}}
Please upload your Staff ID card, Employment Confirmation Letter, or Offer Letter to verify employment eligibility for season parking.
@if ($employment_proof)
@php $ext = strtolower($employment_proof->getClientOriginalExtension()); $isImage = in_array($ext, ['jpg', 'jpeg', 'png']); @endphp @if ($isImage) Preview @else
@endif
{{ $employment_proof->getClientOriginalName() }}
{{ number_format($employment_proof->getSize() / 1024, 1) }} KB • Ready to submit
@else
Uploading & validating document...
@endif @error('employment_proof')
{{ $message }}
@enderror
{{-- SECTION 3: VEHICLE DETAILS PER BAY --}}
3 Registered Vehicles by Bay ({{ count($bay_vehicles) }} {{ count($bay_vehicles) > 1 ? 'Bays' : 'Bay' }})
1 Bay = Up to 4 Vehicle Plates
1 Bay = 1 Primary Vehicle Plate * + Up to 3 Alternate Plates.
@if ($customer_type === 'corporate' && count($bay_vehicles) > 1) Use Quick Fill to distribute plates across multiple bays automatically. @endif
@if ($customer_type === 'corporate' && count($bay_vehicles) > 1) {{-- Quick Auto-Fill for Corporate Multiple Bays --}}
Quick Fill
@endif {{-- Compact Spreadsheet-Style Table --}}
@foreach ($bay_vehicles as $bayNum => $vehicles) @endforeach
Bay Primary Plate * Plate #2 (Alt) Plate #3 (Alt) Plate #4 (Alt)
#{{ $bayNum }} @error('bay_vehicles.' . $bayNum . '.1')
{{ $message }}
@enderror
@error('bay_vehicles.' . $bayNum . '.2')
{{ $message }}
@enderror
@error('bay_vehicles.' . $bayNum . '.3')
{{ $message }}
@enderror
@error('bay_vehicles.' . $bayNum . '.4')
{{ $message }}
@enderror
{{-- Terms & Conditions Agreement --}}
@error('terms_agreed')
{{ $message }}
@enderror
{{-- SUBMIT BUTTON --}}
{{-- SIMPLE CONFIRMATION DIALOG MODAL --}} @if ($showConfirmModal) @endif {{-- ERROR DIALOG MODAL --}} @if ($showErrorModal) @endif @else {{-- SUCCESS CONFIRMATION CARD --}}

Application Submitted Successfully!

Your season pass application has been recorded in the system and a notification has been dispatched to parking management for review.

Next Steps:
Parking management will review your details. Once approved, you will receive an email notification containing your secure payment link at {{ $successData['email'] ?? '-' }}.
{{-- Summary Table --}}
Season Pass Code: {{ $successData['pass_code'] ?? '-' }}
Parking Site: {{ $successData['site_name'] ?? '-' }}
Category & Applicant Name: {{ ucwords($successData['customer_type'] ?? '') }} {{ $successData['customer_name'] ?? '-' }}
Email & Phone: {{ $successData['email'] ?? '-' }} / {{ $successData['phone'] ?? '-' }}
Number of Bays: {{ $successData['no_of_bays'] ?? 1 }} {{ ($successData['no_of_bays'] ?? 1) > 1 ? 'Bays' : 'Bay' }}
Monthly Rate / Bay: RM {{ number_format($successData['monthly_rate'] ?? 0, 2) }} (Base: RM {{ number_format($successData['base_rate'] ?? 0, 2) }} + SST: RM {{ number_format($successData['tax_amount'] ?? 0, 2) }})
Vehicle Plates by Bay: @if (!empty($successData['bays_info'])) @foreach ($successData['bays_info'] as $bayInfo)
Bay #{{ $bayInfo['bay_number'] }} ({{ $bayInfo['bay_code'] }}): @foreach ($bayInfo['plates'] as $plate) {{ $plate }} @endforeach
@endforeach @elseif (!empty($successData['vehicles_by_bay'])) @foreach ($successData['vehicles_by_bay'] as $bayNum => $slots)
Bay #{{ $bayNum }}: @foreach ($slots as $slotNum => $plate) {{ $plate }} @endforeach
@endforeach @else {{ $successData['vehicle_no_1'] ?? '-' }} @endif
Proposed Validity Period: {{ $successData['start_date'] ?? '-' }} → {{ $successData['end_date'] ?? '-' }} ({{ $successData['duration_months'] ?? 1 }} {{ ($successData['duration_months'] ?? 1) > 1 ? 'Months' : 'Month' }})
Estimated Total Amount (RM): RM {{ number_format($successData['total_amount'] ?? 0, 2) }}
Proof of Employment: @if (!empty($successData['proof_of_employment'])) {{ $successData['proof_filename'] ?? 'View Document' }} ↗ @else - @endif
Submitted At: {{ $successData['submitted_at'] ?? '-' }}
@endif