@php $maxMonthly = max(1, $monthly->max('count')); @endphp
@if ($rows->isEmpty()) Add vaccines to the catalogue and their coverage rows appear here. @else
@foreach ($rows as $row) @php $vaccine = $row['vaccine']; @endphp @endforeach
Vaccine Doses given Courses started Courses complete Open Overdue
{{ $vaccine->name }} {{ $vaccine->doses_required }} dose{{ $vaccine->doses_required > 1 ? 's' : '' }} @if ($vaccine->schedule_age_label) · {{ $vaccine->schedule_age_label }} @endif @if ($vaccine->is_government_supplied) · government-supplied @endif {{ number_format($row['administered']) }} {{ number_format($row['started']) }} {{ number_format($row['complete']) }} @if ($row['started'] > 0) {{ round($row['complete'] / $row['started'] * 100) }}% of starters @endif {{ number_format($row['open']) }} @if ($row['overdue'] > 0) {{ number_format($row['overdue']) }} @else 0 @endif
@endif
@foreach ($monthly as $month)
{{ $month['label'] }}
{{ $month['count'] }}
@endforeach