@php $upload_file_size = config('common.upload_file_size'); $allow_file_ext = collect(config('common.allow_doc_ext'))->implode(', '); $step_status = @$step_verified_data['step_status']; $document_data = @$step_verified_data['document_data']; $is_multi_placement = @$step_verified_data['is_multi_placement']; $is_itn_user = (!empty($portfolio->placement_agency_id) && $portfolio->placementAgency->checkAgencySync()) ? 1 : 0; @endphp

Job offer Signed

@if(empty($step_status))

This step is disable until user will reach to step.

@else @if(!empty($document_data)) @if($is_multi_placement == true)
@php $is_active = ""; @endphp @foreach($document_data as $key => $item) @php $is_active = ($key == 1) ? "active" : ""; $document_status = $item['document_status']; $document_status_name = $item['document_status_name']; @endphp
@if(empty(@$item['document_filename']) || empty(@$item['document_download_code']))
Job offer Signed will be upload by ITN admin.
@else

Document name: {{ @$item['document_filename'] }}

Document Status: @if(in_array($document_status,array(2,4))) {{$document_status_name}} @elseif(in_array($document_status,array(3,5))) {{$document_status_name}} @else {{$document_status_name}} @endif


@if(array_key_exists('document_download_code', @$item)) @php $dcode = encrypt([ 'dcode' => @$item['document_download_code'], 'doc_filename' => @$item['document_filename'] ]); @endphp View @else View @endif @if($is_itn_user == 0) @if(in_array($document_status,array(3,5))) @elseif(in_array($document_status,array(2,4))) @else @endif @endif @endif
@endforeach
@else @if(array_key_exists('document_download_code', $document_data)) @php $dcode = encrypt([ 'dcode' => $document_data['document_download_code'], 'doc_filename' => $document_data['document_filename'] ]); @endphp

Document name: {{ @$document_data['document_filename'] }}

@else

Document name: {{ @$document_data['document_filename'] }}

@endif

Document Status: @if(in_array(@$document_data['document_status'],array(2,4)) ) {{ @$document_data['document_status_name'] }} @elseif(in_array(@$document_data['document_status'],array(3,5))) {{ @$document_data['document_status_name'] }} @else Pending @endif


@if(array_key_exists('document_download_code', $document_data)) View @else View @endif @if($is_itn_user == 0) @if(in_array(@$document_data['document_status'],array(3,5)) ) @elseif(in_array(@$document_data['document_status'],array(2,4))) @else @endif @endif @endif @endif @endif