{{-- DYNAMIC TAB LIST START--}}
@foreach ($data['owner']->facility_products as $product) @php $product_checklist = $data['owner']->checked_noc_documents_product($product->id)->implode('noc_document_id',','); $product_checklist_array = ($product_checklist) ? explode(',',$product_checklist) : []; @endphp
{{-- Tab Content Start --}}
{{-- Tab Card Header Start --}}

{{__('lang.noc_hecklist')}} ({{ $product->product_unique_id }} )

{{-- Tab Card Header End --}} {{-- Tab Card Body Start --}}
@foreach ($product->checklist_category->category_items ?? [] as $checklist_item) @php $checklist = $checklist_item->noc_checklist; $checked = in_array($checklist->id,$product_checklist_array) ? 'checked' : ''; @endphp
{{-- {{ $checklist->name }} --}} @if ($checklist->is_required) * @endif
@endforeach
{{-- Tab Card Body End --}}
{{-- Tab Content End --}}
@endforeach
{{-- DYNAMIC TAB LIST END --}}