Logo

Invoice #{{ $invoice->invoice_id }}

{{ \Carbon\Carbon::parse($invoice->invoice_date)->translatedFormat('jS M, Y') }}
{{ $invoice->patient->patientUser->full_name }}

@if(isset($invoice->patient->address) && !empty($invoice->patient->address)) {{ ucfirst($invoice->patient->address->address1) .' '. ucfirst($invoice->patient->address->address2) .', ' . ucfirst($invoice->patient->address->city) .' '. $invoice->patient->address->zip }} @else {{ __('messages.common.n/a') }} @endif

{{ getAppName() }}

{{ ($hospitalAddress=="") ? __('messages.common.n/a') : $hospitalAddress }}

@foreach($invoice->invoiceItems as $index => $invoiceItem) @endforeach
{{ __('messages.account.account') }} {{ __('messages.invoice.description') }} {{ __('messages.invoice.qty') }} {{ __('messages.invoice.price') }} {{ __('messages.invoice.amount') }}
{{ $invoiceItem->account->name }} {!! ($invoiceItem->description != '')?nl2br(e($invoiceItem->description)):'N/A' !!} {{ $invoiceItem->quantity }} {{ checkNumberFormat($invoiceItem->price, strtoupper($invoiceItem->currency_symbol ?? getCurrentCurrency())) }} {{ checkNumberFormat($invoiceItem->total, strtoupper($invoiceItem->currency_symbol ?? getCurrentCurrency())) }}
{{ __('messages.invoice.sub_total').(':') }} {{ checkNumberFormat($invoice->amount, strtoupper($invoice->currency_symbol ?? getCurrentCurrency())) }}
{{ __('messages.invoice.discount').(':') }} {{ checkNumberFormat($invoice->amount * $invoice->discount / 100, strtoupper($invoice->currency_symbol ?? getCurrentCurrency())) }}
{{ __('messages.invoice.total').(':') }} {{ checkNumberFormat($invoice->amount - ($invoice->amount * $invoice->discount / 100), strtoupper($invoice->currency_symbol ?? getCurrentCurrency())) }}
@if($invoice->status == \App\Models\Invoice::PENDING) Pending Payment @elseif($invoice->status == \App\Models\Invoice::PAID) Paid @endif
PATIENT OVERVIEW
{{ __('messages.death_report.patient_name') }}
{{ __('messages.bill.patient_email') }}
{{ $invoice->patient->patientUser->email }}
{{ __('messages.bill.patient_gender') }}
{{ $invoice->patient->patientUser->gender == 1 ? __('messages.user.female'): __('messages.user.male') }}