@php use App\Models\Tax; // Adjust the namespace and path according to your application's structure $customData = $invoice->getCustomData(); $estimate_invoice = $customData['estimate_invoice']; @endphp {{-- Header --}} @if($invoice->logo) logo @endif

{{ $estimate_invoice->type == 'estimate' ? get_label('estimate', 'Estimate') : get_label('invoice', 'Invoice') }}

@if($invoice->status)

{{ $invoice->status }}

@endif