@php $company = $invoice->company_snapshot ?? []; $logoUrl = $invoice->logoPath() ? route('woo.public.logo', $invoice->public_token) : null; @endphp
Professional invoice
{{ $company['company_name'] ?? 'Company' }}
{{ $invoice->invoice_number }}
{{ $invoice->issue_date->format('F j, Y') }}
From
{{ $company['company_name'] ?? '' }}
@if(!empty($company['address_line1'])){{ $company['address_line1'] }}
@endif @if(!empty($company['tax_id']))Tax ID: {{ $company['tax_id'] }}
@endifBill to
{{ $invoice->client_name }}
@if($invoice->client_email){{ $invoice->client_email }}
@endif @if($invoice->client_address){{ $invoice->client_address }}
@endif