{{-- --}}
@if($logo) @else @if($invoice->user->company) @endif @endif

@include('app.pdf.invoice.partials.company-address')
Invoice Number  {{$invoice->invoice_number}}
Invoice Date  {{$invoice->formattedInvoiceDate}}
Due date  {{$invoice->formattedDueDate}}
@include('app.pdf.invoice.partials.billing-address')
@if($invoice->user->billingaddress->name || $invoice->user->billingaddress->address_street_1 || $invoice->user->billingaddress->address_street_2 || $invoice->user->billingaddress->country || $invoice->user->billingaddress->state || $invoice->user->billingaddress->city || $invoice->user->billingaddress->zip || $invoice->user->billingaddress->phone)
@else
@endif @include('app.pdf.invoice.partials.shipping-address')
@include('app.pdf.invoice.partials.table')