@if($settings->company_name)

{{ $settings->company_name }}

@endif @if($settings->company_address)
{!! nl2br(e($settings->company_address)) !!}
@endif
@if($settings->company_phone){{ $settings->company_phone }}@endif @if($settings->company_phone && $settings->company_email) ยท @endif @if($settings->company_email){{ $settings->company_email }}@endif
@if($headerHtml)
{!! $headerHtml !!}
@endif

{{ $documentLabel }} {{ $number }}

@if($customerName)
Bill to: {{ $customerName }}
@endif @if($issuedOn)
Issued: {{ $issuedOn }}
@endif @if($dueOn)
Due: {{ $dueOn }}
@endif @if($validUntil)
Valid until: {{ $validUntil }}
@endif
Currency: {{ $settings->currency }}
@if($introHtml)
{!! $introHtml !!}
@endif @foreach($lineItems as $line) @endforeach
Description Qty Unit Total
{{ $line->description }} {{ $line->quantity }} {{ $line->unit_amount }} {{ $line->line_total }}
Subtotal{{ $subtotal }}
Discount{{ $discountAmount }}
Total{{ $settings->currency }} {{ $total }}
@if($notes)

Notes: {{ $notes }}

@endif @if($footerHtml) @endif