@extends('layouts.vertical', ['page_title' => 'Datatables'])
@section('css')
@endsection
@section('content')
@if (session()->has('message'))
{{ session()->get('message') }}
@endif
@if (session()->has('error'))
{{ session()->get('error') }}
@endif
@php
function ordinal($number) {
$ends = array('th','st','nd','rd','th','th','th','th','th','th');
if ((($number % 100) >= 11) && (($number%100) <= 13))
return $number. 'th';
else
return $number. $ends[$number % 10];
}
@endphp
| Follow up |
No of doctor |
POB – Respules Pack/doctor |
Virtual/Physical |
@foreach($follow_up as $fol)
| {{ordinal($fol->follow_up)}} Follow up |
{{$fol->no_of_doctors}} |
{{$fol->total_pob}} ({{ceil($fol->total_pob/$fol->no_of_doctors)}}) |
{{$fol->virtual_visits}} / {{$fol->physical_visits}} |
@endforeach
@endsection
@section('script')
@endsection