{{--

eServices – Tajaajiloota Foddaa

--}}
@php $allapplications = count(\App\Models\Application::all()); $approvedcount = count(\App\Models\Application::where('status', 'approved')->get()); $customercount = count(\App\Models\User::where('role_id', 4)->get()); @endphp
Services
Tajaajiloota
{{ \App\Models\Service::count() }}
Request
Tajaajila Gafatame
{{$allapplications}}
Approved
Tajaajiloota Deebii Argatan
{{$approvedcount}}
Customer
Maammiltoota
{{$customercount}}
Request
Waajjiralee
{{ $officeCount }}
@foreach ($windows as $window) @php $serviceCount = $window->services->count(); $totalFee = $window->services->sum(function ($service) { return is_numeric($service->payment) ? $service->payment : 0; }); @endphp
{{ $window->name }}
{{ $serviceCount }} Services
@foreach ($window->services as $service)
{{ $service->name }}
@endforeach
@endforeach