@extends('layouts.main') @push('css') @endpush @section('content')

Season Parking Card Suspension Application Form

@csrf
{{--
@if($user->seasoncard->isNotEmpty()) @foreach ($user->seasoncard->where('status', 1) as $index => $card) @endforeach
Card No. Season Type Rate Card Status
{{ $card->card_no ?? '-' }} {{ $card->types->name ?? '-' }} RM {{ number_format($card->effectiveRateAmount(), 2) }} {{ $card->statuses->name ?? '-' }}
@else
No card found
@endif
--}}
@error('cards') {{ $message }} @enderror
@error('effective_start_date') {{ $message }} @enderror
@php // Default to the month after the earliest selectable start month, so the // end date always stays after the start date the form opens with. $defaultEndDate = collect($periods)->skip(1)->first() ?? collect($periods)->first(); @endphp @error('effective_end_date') {{ $message }} @enderror
@error('reason') {{ $message }} @enderror
@error('attachment') {{ $message }} @enderror
@endsection @push('js') @endpush