@extends('template.index') @section('css') @endsection @section('content')

{{ $male_count }}

Male

{{ $female_count }}

Female

{{ $non_binary_count }}

Non-binary

{{ $male_count + $female_count + $non_binary_count }}

Total Patients

Inventory Stocks Notifications

@if (!empty($notifications)) @if (!empty($notifications['notif_stocks'])) @foreach ( $notifications['notif_stocks'] as $notif_stock)
branch_id }} border-bottom mb-3">

{{ $notif_stock->branch }}
{{ $notif_stock->name }} {{" - P" . $notif_stock->price .": " }} {{ $notif_stock->total_remaining }} {{ " stock/s left" }}

@endforeach @else

No new notifications

@endif @endif

Inventory Expiration Notifications

@if (!empty($notifications)) @if (!empty($notifications['notif_exp'])) @foreach ( $notifications['notif_exp'] as $notif_exp)
branch_id }} border-bottom mb-3">

{{ $notif_exp->branch }}
{{ $notif_exp->name }} {{" - P" . $notif_exp->price .": " }} {{ $notif_exp->remaining }} {{ " stock/s is about to expire" }}
On {{ date('F Y', strtotime($notif_exp->expiration)) }}

@endforeach @else

No new notifications

@endif @endif

Patient's Location

Province Count

Patient's Age

Top 10 Diseases

@if (!empty($top_diseases)) @foreach ($top_diseases as $top_disease) @endforeach @else @endif
Disease Count
{{ $top_disease->disease }} {{ $top_disease->total }}
No data

Top 10 Procedures

@if (!empty($top_procedures)) @foreach ($top_procedures as $top_procedure) @endforeach @else @endif
Procedure Count
{{ $top_procedure->procedure }} {{ $top_procedure->count }}
No data

Top 10 Treatments

@if (!empty($top_treatments)) @foreach ($top_treatments as $top_treatment) @endforeach @else @endif
Product Count
{{ $top_treatment->name }} {{ $top_treatment->total }}
No data
@endsection @section('js') @endsection