@if(getCurrentCurrency() == 'inr') @endif
{{ __('messages.medicine_bills.medicine_bill') }}
{{ $data['app_name'] }}
{{ $data['hospital_address'] }}
{{ __('messages.bill.bill_id') }}: #{{ $medicineBill->bill_number }}
{{ __('messages.bill.bill_date') }}: {{ \Carbon\Carbon::parse($medicineBill->bill_date)->format('jS M,Y g:i A') }}
{{ __('messages.patient.patient_details') }}
@if (!empty($medicineBill->docto)) @endif
{{ __('messages.investigation_report.patient') }}: {{ $medicineBill->patient->user->full_name }}
{{ __('messages.user.email') }}: {{ $medicineBill->patient->user->email }}
{{ __('messages.bill.cell_no') }}: {{ !empty($medicineBill->patient->user->phone) ? $medicineBill->patient->user->region_code.$medicineBill->patient->user->phone : 'N/A' }}
{{ __('messages.user.gender') }}: {{ $medicineBill->patient->user->gender == 0 ? __('messages.user.male') : __('messages.user.female') }}
{{ __('messages.user.dob') }}: {{ !empty($medicineBill->patient->user->dob) ? Datetime::createFromFormat('Y-m-d', $medicineBill->patient->user->dob)->format('jS M, Y g:i A') : 'N/A' }}
{{ __('messages.investigation_report.doctor') }}: {{ $medicineBill->doctor->user->full_name }}
@if(isset($medicineBill->saleMedicine) && !empty($medicineBill->saleMedicine)) @foreach ($medicineBill->saleMedicine as $index => $saleMedicine) @endforeach @endif
# {{ __('messages.bill.item_name') }} {{ __('messages.bill.qty') }} {{ __('messages.bill.price') }} {{ __('messages.purchase_medicine.tax') }} {{ __('messages.bill.amount') }}
{{ $index + 1 }} {{ $saleMedicine->medicine->name }} {{ $saleMedicine->sale_quantity }} {{ getCurrencyFormat($saleMedicine->sale_price) }} {{ $saleMedicine->tax . '%' }} {{ getCurrencyFormat($saleMedicine->sale_price * $saleMedicine->sale_quantity) }}