@php $isRenderPdf = ($renderMode ?? 'html') === 'pdf'; @endphp Invoice {{ $invoice->invoiceNumber }} @include('finance.partials.invoice_styles') @if(!$isRenderPdf) @endif @include('finance.partials.invoice_document')