Good Morning, Daniel Bruk
Have a nice day at work
@php
$json = file_get_contents(public_path('../public/assets/json/admin-dashboard.json'));
$dashboards = json_decode($json, true);
@endphp
@foreach ($dashboards as $dashboard)
@endforeach
Patient Visit by Gender
@livewire('select-dashboard')
Patient by Department
Top Departments
@php
$json = file_get_contents(public_path('../public/assets/json/admin-dashboard-departments.json'));
$departments = json_decode($json, true);
@endphp
@foreach ($departments as $department)
@if ($department['name'] === 'Opthomology')
@else
@endif
@endforeach
{{ $department['name'] }}
{{ $department['percentage'] }}