@php $justify_style = 'justify-content-end'; $show_filter = false; if ( !empty($filter_estate_id) || !empty($filter_resident_id) || !empty($filter_model) || !empty($filter_resident_blk_no) || !empty($filter_resident_unit_no) ) { $justify_style = 'justify-content-between'; $show_filter = true; } $resident_name = $estate_name = null; if (!empty($estate_name_list) && count($estate_name_list) > 0 && !empty($filter_estate_id)) { foreach ($estate_name_list as $estate) { if ($estate->value == $filter_estate_id) { $estate_name = $estate->label; break; } } } if (!empty($residents_name_list) && count($residents_name_list) > 0 && !empty($filter_resident_id)) { foreach ($residents_name_list as $resident) { if ($resident->value == $filter_resident_id) { $resident_name = $resident->label; break; } } } @endphp
{{--
--}} @if ($show_filter)
Results filtered by @if (!empty($filter_estate_id))
Estate: {{ $estate_name ?? '-' }}
@endif @if (!empty($filter_resident_id))
Resident: {{ $resident_name ?? '-' }}
@endif @if (!empty($filter_model))
Make /Model: {{ $filter_model ?? '-' }}
@endif @if (!empty($filter_resident_blk_no))
Blk No: {{ $filter_resident_blk_no ?? '-' }}
@endif @if (!empty($filter_resident_unit_no))
Unit No: {{ $filter_resident_unit_no ?? '-' }}
@endif
@endif
{{-- --}} @if (!empty($menu) && $menu == 'residence') @endif {{-- --}} @if (empty($deleted)) @endif @if (!empty($residents_list) && count($residents_list) > 0) @foreach ($residents_list as $resident) {{-- --}} @if (!empty($menu) && $menu == 'residence') @endif {{-- --}} @if (empty($deleted)) @endif @endforeach @else @endif
Vehicle ID Vehicle License Vechicle IU Vehicle Make/Model Contact No. NameEstate NameBlk No. Unit No. Park. Validity StatusPark. Validity Date/TimeAction
{{ str_pad($loop->index + 1, 3, '0', STR_PAD_LEFT) }} {{ $resident->licence ?? '-' }} {{ $resident->iu ?? '-' }} {{ $resident->model ?? '-' }} {{ $resident->contact_number ?? '-' }} {{ $resident->full_name ?? '-' }}{{ $resident->estate_name ?? '-' }}{{ $resident->block_number ?? '-' }} {{ $resident->unit_number ?? '-' }} {{ $resident->is_active == 1 ? 'Active' : 'Inactive' }} {{ !empty($resident->valid_to) ? date('M j, Y g.i A', strtotime($resident->valid_to)) : '-' }}
No records found
{{-- --}}