@php use Carbon\Carbon; @endphp
Name | : | @if(isset($data->customerModel->patient->dob)) {{$data->customerModel->patient->name}} @endif | Reg | : | @if(isset($data->customerModel->patient->registrationNo)) {{$data->customerModel->patient->registrationNo}} @endif |
Gender | : | @if(isset($data->customerModel->patient->gender)) {{$data->customerModel->patient->gender}} @endif | Age | : | @if(isset($data->customerModel->patient->dob)) {{\Carbon\Carbon::parse($data->customerModel->patient->dob)->diff(\Carbon\Carbon::now())->format('%y Years, %m Months')}} @endif |
Adm Date | : | @if(isset($data->customerModel->admissionDate)) {{dateFormatter($data->customerModel->admissionDate)}} @endif | Adm ID | : | @if(isset($data->customerModel->admissionId)) {{($data->customerModel->admissionId)}} @endif |
Bed/Cabin | : | @if(isset($data->customerModel->bed->bedNo)) {{($data->customerModel->bed->bedNo)}} @endif |
SL | Revenue Head | Amount |
{{$index + 1}} | {{capitalizeFirstChar($item->billingType)}} | {{number_format($item->amount, 2), 2}} |
Zone Total: | {{number_format($data->totalBillAmount, 2), 2}} |