Invoice #{{ $invoice->invoice_id }}
{{ __('messages.invoice.invoice_date').':' }}
{{ \Carbon\Carbon::parse($invoice->invoice_date)->format('jS M, Y') }}
Issue For:
{{ $invoice->patient->user->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 {{ "N/A" }} @endif
Issued By:
{{ 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 }} {{ getCurrencySymbol() }} {{ number_format($invoiceItem->price) }} {{ getCurrencySymbol() }} {{ number_format($invoiceItem->total) }}
{{ __('messages.invoice.sub_total').(':') }}
{{ getCurrencySymbol() }} {{ number_format($invoice->amount,2) }}
{{ __('messages.invoice.discount').(':') }}
{{ getCurrencySymbol() }} {{ number_format(($invoice->amount * $invoice->discount / 100),2) }}
{{ __('messages.invoice.total').(':') }}
{{ getCurrencySymbol() }} {{ number_format($invoice->amount - ($invoice->amount * $invoice->discount / 100),2)}}
@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->user->email }}
{{ __('messages.bill.patient_gender') }}
{{ $invoice->patient->user->gender == 1 ? __('messages.user.female'): __('messages.user.male') }}