@foreach ($data['owner']->facility_products_tenant as $product)
@php
$product_uploaded_documents =$data['owner']->uploaded_noc_documents_by_products($product->id);
$product_uploaded_documents_array = ($product_uploaded_documents) ? explode(',',$product_uploaded_documents) : [];
@endphp
Document |
{{__('lang.name')}} |
Status |
Upload |
{{__('lang.options')}} |
@foreach ($data['owner']->checked_noc_documents_product($product->id) as $document)
@endforeach
{{-- Other Document Start --}}
@if (count($data['owner']->uploaded_other_documents_by_products($product->id))>0)
Document |
{{__('lang.name')}} |
{{__('lang.options')}} |
@foreach ($data['owner']->uploaded_other_documents_by_products($product->id) as $key => $document)
file_present
|
{{ $document->file_name }} |
|
@endforeach
@else
@endif
{{-- add below --}}
{{-- Other Document END --}}
@endforeach
{{-- DYNAMIC TAB LIST END --}}