@extends('layouts.vertical', ['page_title' => 'Datatables']) @section('css') @endsection @section('content')

Followup Summary

@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
@foreach($follow_up as $fol) @endforeach
Follow up No of doctor POB – Respules Pack/doctor Virtual/Physical
{{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}}
@endsection @section('script') @endsection