@if(getCurrentCurrency() == 'inr') @endif
{{ __('messages.invoice.invoice') }}
{{ __('messages.invoice.invoice_id') }} #{{ $invoice->invoice_id }}
{{ $setting['app_name'] }}
{{ $setting['hospital_address'] }}

{{ $invoice->patient->user->full_name }}
@if(!empty($invoice->patient->address->address1) || !empty($invoice->patient->address->address2) || !empty($invoice->patient->address->city) || !empty($invoice->patient->address->zip)) @if(!empty($invoice->patient->address->address1))
{{ $invoice->patient->address->address1 }} @endif @if(!empty($invoice->patient->address->address2)) @if(!empty($invoice->patient->address->address1)){{','}}@endif
{{ trim($invoice->patient->address->address2) }}
@elseif(empty($invoice->patient->address->address2) && !empty($invoice->patient->address->address1)){{','}} @endif @if(!empty($invoice->patient->address->city)) @if(!empty($invoice->patient->address->address2)){{','}}@endif
{{ $invoice->patient->address->city }}
@elseif(empty($invoice->patient->address->city) && !empty($invoice->patient->address->address2)) {{','}}
@endif @if(!empty($invoice->patient->address->zip)) @if(!empty($invoice->patient->address->address2)){{' '}}@endif {{ $invoice->patient->address->zip }} @endif @else {{ __('messages.common.n/a') }} @endif
{{ $invoice->invoice_date->format('jS M, Y') }}
@if(isset($invoice) && !empty($invoice)) @foreach($invoice->invoiceItems as $key => $invoiceItems) @endforeach @endif
# {{ __('messages.account.account') }} {{ __('messages.invoice.description') }} {{ __('messages.invoice.qty') }} {{ __('messages.invoice.price') }}
({{$currencySymbol}})
{{ __('messages.invoice.amount') }}
({{$currencySymbol}})
{{ $key + 1 }} {{ $invoiceItems->account->name }} {!! nl2br(e($invoiceItems->description)) !!} {{ $invoiceItems->quantity }} {{ number_format($invoiceItems->price, 2) }} {{ number_format($invoiceItems->total, 2) }}