Logo

Bill #{{ $bill->bill_id }}

{{ Carbon\Carbon::parse($bill->bill_date)->format('jS M, Y g:i A') }}
{{ __('messages.case.patient').':' }}
{{ $bill->patient->user->full_name }}
{{ __('messages.bill.admission_id').':' }}
{{ $bill->patientAdmission->patient_admission_id }}
{{ __('messages.bill.patient_email').':' }}
{{ !empty($bill->patient->user->email) ? $bill->patient->user->email : __('messages.common.n/a') }}
{{ __('messages.bill.patient_cell_no').':' }}
{{ !empty($bill->patient->user->phone) ? $bill->patient->user->phone : __('messages.common.n/a') }}
{{ __('messages.bill.patient_gender').':' }}
{{ (!$bill->patient->user->gender) ? __('messages.user.male') : __('messages.user.female') }}
{{ __('messages.bill.patient_dob').':' }}
{{ (!empty($bill->patient->user->dob)) ? \Carbon\Carbon::parse($bill->patient->user->dob)->translatedFormat('jS M, Y') : __('messages.common.n/a') }}
{{ __('messages.case.doctor').':' }}
{{ $bill->patientAdmission->doctor->user->full_name }}
{{ __('messages.bill.admission_date').':' }}
{{ \Carbon\Carbon::parse($bill->patientAdmission->admission_date)->translatedFormat('jS M, Y g:i A') }}
{{ __('messages.bill.discharge_date').':' }}
{{ !empty($bill->patientAdmission->discharge_date) ? date('jS M, Y g:i A', strtotime($bill->patientAdmission->discharge_date)) : __('messages.common.n/a') }}
{{ __('messages.bill.package_name').':' }}
{{ !empty($bill->patientAdmission->package->name) ? $bill->patientAdmission->package->name : __('messages.common.n/a') }}
{{ __('messages.bill.insurance_name').':' }}
{{ !empty($bill->patientAdmission->insurance->name) ? $bill->patientAdmission->insurance->name: __('messages.common.n/a') }}
{{ __('messages.bill.total_days').':' }}
{{ $bill->totalDays }}
{{ __('messages.bill.policy_no').':' }}
{{ !empty($bill->patientAdmission->policy_no) ? $bill->patientAdmission->policy_no : __('messages.common.n/a') }}
{{ __('messages.common.created_on').':' }}
{{ $bill->created_at->diffForHumans() }}
{{ __('messages.common.last_updated').':' }}
{{ $bill->updated_at->diffForHumans() }}
@foreach($bill->billItems as $index => $billItem) @endforeach
# {{ __('messages.bill.item_name') }} {{ __('messages.bill.qty') }} {{ __('messages.bill.price') }} {{ __('messages.bill.amount') }}
{{ $index + 1 }} {{ $billItem->item_name }} {{ $billItem->qty }} {{ getCurrencyFormat($billItem->price) }} {{ getCurrencyFormat($billItem->amount) }}
{{ __('messages.bill.total_amount').(':') }} {{ getCurrencyFormat($bill->amount) }}