{{-- The clinic's own letterhead, when one has been uploaded in Settings. --}}
{{ $clinic['name'] }}
{{ $clinic['address'] }}{{ $clinic['phone'] ? ' · '.$clinic['phone'] : '' }}
@if ($clinic['tax_number'])
{{ __('billing::messages.print.tax_number') }}: {{ $clinic['tax_number'] }}
@endif
{{ __('billing::messages.print.invoice') }}
{{ $invoice->reference }}
{{ __('billing::messages.print.date') }}: {{ $invoice->issued_on?->format('Y-m-d') }}
@if ($invoice->due_on)
{{ __('billing::messages.print.due') }}: {{ $invoice->due_on->format('Y-m-d') }}
@endif
@if ($invoice->status->isVoid()) {{-- A voided invoice can still be reprinted, and must never be mistaken for a live one. --}}
{{ __('billing::messages.invoice_status.void') }} — {{ $invoice->void_reason }}
@endif
{{ __('billing::messages.print.patient') }}
{{ $patient?->name }}
{{ __('billing::messages.print.mrn') }} {{ $patient?->mrn }}
@foreach ($invoice->items as $item) @endforeach
{{ __('billing::messages.print.description') }} {{ __('billing::messages.print.qty') }} {{ __('billing::messages.print.unit_price') }} {{ __('billing::messages.items.discount') }} {{ __('billing::messages.print.amount') }}
{{ $item->description }} @if ($item->code)
{{ $item->code }}
@endif @foreach ($item->taxes as $tax)
{{ $tax->label() }}
@endforeach
{{ $item->quantityLabel() }} {{ $item->unit_price->toMajor() }} {{ $item->discount_amount->isZero() ? '' : '−'.$item->discount_amount->toMajor() }} {{ $item->line_total->toMajor() }}
@if (! $invoice->discount_total->isZero()) @endif @if (! $invoice->tax_total->isZero()) @endif @if (! $invoice->paid_total->isZero()) @endif @if (! $invoice->credited_total->isZero()) @endif
{{ __('billing::messages.totals.subtotal') }} {{ $invoice->subtotal->toMajor() }}
{{ __('billing::messages.totals.discount') }} @if ($invoice->discount_reason)
{{ $invoice->discount_reason }}
@endif
−{{ $invoice->discount_total->toMajor() }}
{{ __('billing::messages.totals.tax') }} {{ $invoice->tax_total->toMajor() }}
{{ __('billing::messages.totals.total') }} {{ $invoice->total->format() }}
{{ __('billing::messages.totals.paid') }} {{ $invoice->paid_total->toMajor() }}
{{ __('billing::messages.totals.credited') }} −{{ $invoice->credited_total->toMajor() }}
{{ __('billing::messages.totals.balance') }} {{ $invoice->balance->toMajor() }}