@php $company = $invoice->company_snapshot ?? []; $logoUrl = $invoice->logoPath() ? route('woo.public.logo', $invoice->public_token) : null; @endphp
@if($logoUrl) @endif

{{ $company['company_name'] ?? 'Company' }}

@if(!empty($company['email']))

{{ $company['email'] }}

@endif

Invoice

{{ $invoice->invoice_number }}

Bill to

{{ $invoice->client_name }}

@if($invoice->client_email)

{{ $invoice->client_email }}

@endif @if($invoice->client_address)

{{ $invoice->client_address }}

@endif

Issued {{ $invoice->issue_date->format('M j, Y') }}

@if($invoice->due_date)

Due {{ $invoice->due_date->format('M j, Y') }}

@endif
@include('invoices.templates._body', ['showPay' => $showPay ?? false])