@php $company = $invoice->company_snapshot ?? []; $logoUrl = $invoice->logoPath() ? route('woo.public.logo', $invoice->public_token) : null; @endphp
{{ $company['address_line1'] }}
@endif @if(!empty($company['address_line2'])){{ $company['address_line2'] }}
@endif @if(!empty($company['city']) || !empty($company['country'])){{ trim(($company['city'] ?? '').', '.($company['country'] ?? ''), ', ') }}
@endif @if(!empty($company['email'])){{ $company['email'] }}
@endif @if(!empty($company['phone'])){{ $company['phone'] }}
@endifInvoice
{{ $invoice->invoice_number }}
Bill to
{{ $invoice->client_name }}
@if($invoice->client_email){{ $invoice->client_email }}
@endif @if($invoice->client_address){{ $invoice->client_address }}
@endif