@php $userType = \App\Helpers\Helpers::getUserRole()->type_id ?? []; $userAccess = \App\Helpers\Helpers::getUserAccess() ?? []; $access = $userAccess['accesses'] ?? []; @endphp @extends('layout.master') @section('content')
{{--

Estates

--}}
{{-- --}} + Add Estate {{-- --}}
{{-- @if (!empty($estates) && count($estates) > 0) --}} {{--
--}}
{{-- --}} @if (!empty($estates) && count($estates) > 0) @foreach ($estates as $estate) {{-- --}} @endforeach {{-- @else --}} @endif
Sl No. Name Address Total Residents Visitors for Today Total Over StayersTotal Vehicle LogsAction
{{ str_pad($loop->index + 1, 3, '0', STR_PAD_LEFT) }} {{ $estate->name ?? '-' }} {{ $estate->address_line_one ?? ('-' . $estate->address_line_two ?? '') }} {{ $estate->resident_count ?? 0 }} {{ $estate->visitor_count ?? 0 }} {{ $estate->over_stayers_count ?? 0 }} {{ $estate->logs_count ?? 0 }}
No records found
@push('scripts') @endpush @endsection