@php $template_id = $sell->branch->allotment_template_id ?? 1; // $logo_settings = $sell_details->branch->getLogoSettings($sell_details->branch->id); // $company_logo_height = $logo_settings->booking_form->company_logo_height; // $company_logo_width = $logo_settings->booking_form->company_logo_width; // $branch_logo_height = $logo_settings->booking_form->branch_logo_height; // $branch_logo_width = $logo_settings->booking_form->branch_logo_width; $customer_names = $strings = [$sell->customer->name, $sell->customer->customerDetail->implode('name',' / ')]; $customer_name_combine = implode(" / ", array_filter($strings)); @endphp @if($template_id == 0 || $template_id == 1) @include('admin.sell.pdf.allotment.template_1') @elseif ($template_id == 2) @include('admin.sell.pdf.allotment.template_2') @elseif($template_id == 3) @include('admin.sell.pdf.allotment.template_3') @elseif($template_id == 4) @include('admin.sell.pdf.allotment.template_4') @elseif($template_id == 5) @include('admin.sell.pdf.allotment.template_5') @elseif($template_id == 6) @include('admin.sell.pdf.allotment.template_6') @elseif($template_id == 7) @include('admin.sell.pdf.allotment.template_7') @else @include('admin.sell.pdf.allotment.template_1') @endif