Logo

{{ __('messages.invoice.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)) : __('messages.common.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) {{ __('messages.appointment.pending') }} @elseif($invoice->status == \App\Models\Invoice::PAID) {{ __('messages.invoice.paid') }} @endif
{{ __('messages.invoice.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') }}