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

Dashboard

Total Estates {{ $estate_count ?? 0 }}
Total Residents {{ $resident_count ?? 0 }}
Visitors for Today {{ $visitor_count ?? 0 }}
Estates
@if (empty($estate_list) || count($estate_list) == 0)

No records

@else
{{-- @for ($i = 0; $i < 100; $i++) --}} @foreach ($estate_list ?? [] as $estate) {{ $estate->name ?? '' }} @endforeach {{-- @endfor --}}
@endif
@endsection