@php $data = $this->form->getRawState(); $viewModel = new \App\View\Models\InvoiceViewModel($this->record, $data); $viewSpecial = $viewModel->buildViewData(); extract($viewSpecial); @endphp {!! $font_html !!}

{{ $company_name }}

@if($company_address && $company_city && $company_state && $company_zip)

{{ $company_address }}

{{ $company_city }}, {{ $company_state }} {{ $company_zip }}

{{ $company_country }}

@endif
@if($logo && $show_logo) @endif

{{ $header }}

{{ $subheader }}

BILL TO

John Doe

123 Main Street

New York, New York 10001

United States

Invoice Number: {{ $invoice_number }}
Invoice Date: {{ $invoice_date }}
Payment Due: {{ $invoice_due_date }}
{{ $item_name }} {{ $unit_name }} {{ $price_name }} {{ $amount_name }}
Item 1 2 $150.00 $300.00
Item 2 3 $200.00 $600.00
Item 3 1 $180.00 $180.00

Notes

{{ $footer }}

Subtotal: $1080.00
Discount (5%): ($54.00)
Sales Tax (10%): $102.60
Total: $1128.60
Amount Due (USD): $1128.60

Terms & Conditions

{{ $terms }}