Logo

Invoice #{{ $invoice->invoice_id }}

{{ \Carbon\Carbon::parse($invoice->invoice_date)->format('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') }}
{{ $index + 1 }} {{ $invoiceItem->account->name }} {!! ($invoiceItem->description != '')?nl2br(e($invoiceItem->description)):'N/A' !!} {{ $invoiceItem->quantity }} {{ checkNumberFormat($invoiceItem->price, strtoupper(getCurrentCurrency())) }} {{ checkNumberFormat($invoiceItem->total, strtoupper(getCurrentCurrency())) }}
{{ __('messages.invoice.sub_total').(':') }} {{ checkNumberFormat($invoice->amount, strtoupper(getCurrentCurrency())) }}
{{ __('messages.invoice.discount').(':') }} {{ checkNumberFormat($invoice->amount * $invoice->discount / 100, strtoupper(getCurrentCurrency())) }}
{{ __('messages.invoice.total').(':') }} {{ checkNumberFormat($invoice->amount - ($invoice->amount * $invoice->discount / 100), strtoupper(getCurrentCurrency())) }}
@if($invoice->status == \App\Models\Invoice::PENDING) Pending Payment @elseif($invoice->status == \App\Models\Invoice::PAID) Paid @endif
PATIENT {{ __('messages.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') }}