@if(getCurrentCurrency() == 'inr') @endif
{{ __('messages.bill.bill') }}
{{ __('messages.bill.admission_id') }} #{{ $bill->patient_admission_id }}
{{ $setting['app_name'] }}
{{ $setting['hospital_address'] }}
{{ __('messages.bill.bill_id') }}: #{{ $bill->bill_id }}
{{ __('messages.bill.bill_date') }}: {{ \Carbon\Carbon::parse($bill->bill_date)->format('jS M,Y g:i A') }}
{{ __('messages.patient.patient_details') }}
{{ __('messages.investigation_report.patient') }}: {{ $bill->patient->user->full_name }}
{{ __('messages.user.email') }}: {{ $bill->patient->user->email }}
{{ __('messages.bill.cell_no') }}: {{ !empty($bill->patient->user->phone) ? $bill->patient->user->region_code.$bill->patient->user->phone : 'N/A' }}
{{ __('messages.user.gender') }}: {{ $bill->patient->user->gender == 0 ? __('messages.user.male') : __('messages.user.female') }}
{{ __('messages.user.dob') }}: {{ !empty($bill->patient->user->dob) ? Datetime::createFromFormat('Y-m-d', $bill->patient->user->dob)->format('jS M, Y g:i A') : 'N/A' }}
{{-- --}} {{-- --}} {{-- --}} {{-- --}}
{{ __('messages.investigation_report.doctor') }}: {{ $bill->patientAdmission->doctor->user->full_name }}
{{ __('messages.bill.admission_date') }}: {{ Datetime::createFromFormat('Y-m-d H:i:s', $bill->patientAdmission->admission_date)->format('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)):'N/A' }}
{{ __('messages.package.package') }}: {{ !empty($bill->patientAdmission->package->name) ? $bill->patientAdmission->package->name : 'N/A' }}
{{ __('messages.insurance.insurance') }}: {{ !empty($bill->patientAdmission->insurance->name) ? $bill->patientAdmission->insurance->name : 'N/A' }}
{{ __('messages.bill.total_days') }}{{ !empty($bill->patient->user->dob) ? Datetime::createFromFormat('Y-m-d', $bill->patient->user->dob)->format('jS M, Y') : '' }}
{{ __('messages.bill.policy_no') }}: {{ !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') }} ({{getCurrencySymbol()}}) {{ __('messages.bill.amount') }} ({{getCurrencySymbol()}})
{{ $key + 1 }} {{ $item->item_name }} {{ $item->qty }} {{ number_format($item->price, 2) }} {{ number_format($item->amount, 2) }}