@if (getCurrentCurrency() == 'inr') @endif
{{ __('messages.bill.bill') }}
{{ __('messages.bill.admission_id') }} #{{ $bill->patientAdmission ? $bill->patient_admission_id : __('messages.common.n/a')}}
{{ $setting['app_name'] }}
{{ $setting['hospital_address'] }}

{{ $bill->patient->user->full_name }}
{{ $bill->patient->user->email }}
{{ !empty($bill->patient->user->phone) ? $bill->patient->user->region_code.$bill->patient->user->phone : __('messages.common.n/a') }}
{{ $bill->patient->user->gender == 0 ? 'Male' : 'Female' }}
{{ !empty($bill->patient->user->dob) ? Datetime::createFromFormat('Y-m-d', $bill->patient->user->dob)->format('jS M, Y g:i A') : 'N/A' }}
#{{ $bill->bill_id }}
{{ \Carbon\Carbon::parse($bill->bill_date)->format('jS M,Y g:i A') }}
{{ $bill->patientAdmission->doctor->user->full_name }}
{{ Datetime::createFromFormat('Y-m-d H:i:s', $bill->patientAdmission->admission_date)->format('jS M, Y g:i A') }}
{{ !empty($bill->patientAdmission->discharge_date) ? date('jS M, Y g:i A', strtotime($bill->patientAdmission->discharge_date)) : 'N/A' }}
{{ !empty($bill->patientAdmission->package->name) ? $bill->patientAdmission->package->name : 'N/A' }}
{{ !empty($bill->patientAdmission->insurance->name) ? $bill->patientAdmission->insurance->name : 'N/A' }}
{{ !empty($bill->patientAdmission->policy_no) ? $bill->patientAdmission->policy_no : 'N/A' }}
@if (isset($bill) && !empty($bill)) @foreach ($bill->billItems as $key => $item) @endforeach @endif
# {{ __('messages.bill.item_name') }} {{ __('messages.bill.qty') }} {{ __('messages.bill.price') }} ({{ getAPICurrencySymbol() }}) {{ __('messages.bill.amount') }} ({{ getAPICurrencySymbol() }})
{{ $key + 1 }} {{ $item->item_name }} {{ $item->qty }} {{ number_format($item->price, 2) }} {{ number_format($item->amount, 2) }}