Documents

@foreach($doc_category as $doc_category_item)
@foreach($doc_sub_category as $doc_sub_category_increment) @if($doc_sub_category_increment['document_category_id'] == $doc_category_item['id']) {{-- @if($doc_sub_category_increment) --}} @php $flag = 0; @endphp @foreach($documents as $document) @if($document['document_subcategory_id'] === $doc_sub_category_increment['id'])

green-tick {{$doc_sub_category_increment['document_subcategory_name']}}

@php $flag = 1; @endphp @endif @endforeach @if ($flag == 0)

no-tick{{$doc_sub_category_increment['document_subcategory_name']}}

@if (userCan('candidate.update')) @endif
@endif @endif @endforeach
@endforeach {{-- {{dd($doc_sub_category)}} --}} {{-- {{dd($documents)}} --}}
@foreach($doc_sub_category as $doc_sub_category_increment) @php $flag = 0; @endphp @foreach($documents as $document) @if($document['document_subcategory_id'] === $doc_sub_category_increment['id']) @if( $doc_sub_category_increment['id'] == 41 || $doc_sub_category_increment['id'] == null ) @else

green-tick {{$doc_sub_category_increment['document_subcategory_name']}}

@endif @php $flag = 1; @endphp @endif @endforeach @if ($flag == 0)

no-tick{{$doc_sub_category_increment['document_subcategory_name']}}

@if (userCan('candidate.update')) @endif
@endif @endforeach @foreach($documents as $document) @if( $document['document_subcategory_id'] == 41 || $document['document_subcategory_id'] == null )

green-tick {{$document['document_name']}}

@php $flag = 1; @endphp @endif @endforeach
icon

Upload Additional Documents

Documents which don’t come under Application, Visa & Financial Type

Upload
@foreach($documents as $document) @if($document['document_subcategory_id'] == 41)

green-tick {{$document['document_name']}}

@endif @endforeach
icon

Upload Additional Documents

Documents which don’t come under Application, Visa & Financial Type

Upload
@foreach($documents as $document) @if($document['document_subcategory_id'] == null)

green-tick {{$document['document_name']}}

@endif @endforeach