Adama e-Services Logo

{{ __('eService | Adama') }}

{{ __('Digital Government Services') }}

{{ __('Welcome to Adama City Administration') }}

{{--
@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') }}
{{ \App\Models\Service::count() }}
{{ __('Total Requests') }}
@if ($allapplications >= 1000) {{ number_format($allapplications / 1000, $allapplications % 1000 !== 0 ? 1 : 0) }}k @else {{ $allapplications }} @endif
{{ __('Approved Requests') }}
@if ($approvedcount >= 1000) {{ number_format($approvedcount / 1000, $approvedcount % 1000 !== 0 ? 1 : 0) }}k @else {{ $approvedcount }} @endif
{{ __('Customers') }}
@if ($customercount >= 1000) {{ number_format($customercount / 1000, $customercount % 1000 !== 0 ? 1 : 0) }}k @else {{ $customercount }} @endif
--}}
@foreach ($windows as $window) @php $serviceCount = $window->services->count(); @endphp

{{ $window->getLocalized('name') ?? 'Unknown Window' }}

{{ $serviceCount }} {{ __('Services') }}
@foreach ($window->services as $service) @php $serviceName = $service->getLocalized('name') ?? 'Unnamed Service'; $serviceDescription = $service->getLocalized('description') ?? __('No description available'); $serviceProcessingTime = $service->getLocalized('processing_time') ?? __('Processing time not specified'); $missingCriticalData = empty($service->route) || empty($serviceName); $missingData = empty($serviceDescription) || empty($serviceProcessingTime); $serviceClass = ''; if ($missingCriticalData) { $serviceClass = 'critical'; } elseif ($missingData) { $serviceClass = 'warning'; } @endphp

{{ $serviceName }} @if ($missingCriticalData) {{-- ! --}} @elseif($missingData) {{-- i --}} @endif

{{-- Service fee would go here --}}
@endforeach
@endforeach
Back to Top