@php $documents = @$step_verified_data['documents']; $pre_placement_doc = @$step_verified_data['pre_placement_doc']; $step_key = @$step_verified_data['step_key']; $document_section_id = @$step_verified_data['document_section_id']; $approved_documents = @$step_verified_data['approved_req_count']; $req_document_count = @$step_verified_data['req_count']; $is_itn_user = (!empty($portfolio->placement_agency_id) && $portfolio->placementAgency->checkAgencySync()) ? 1 : 0; @endphp

{{ $step_title }}

@if(!empty($step_status) && check_route_access('user.document') && $is_itn_user == 0) Approve/Reject Document @endif
@if(empty($step_status))

This step is disable until user will reach to step.

@else @if(@$active_stage == 2)

Documents required to start the placement process with a Host Company in the USA

@if(!empty($pre_placement_doc)) @foreach($pre_placement_doc as $doc)
@php $required_class = "text-warning"; $doc_desc = $doc['doc_desc']; if($doc['requirement_type'] == 1) { $required_class = "text-danger"; if(!empty($doc_desc)){ $doc_desc .= "
(required)"; }else{ $doc_desc .= "(required)"; } } @endphp @if(!empty($doc_desc)) @endif {{ $doc['document_label'] }} @php if(!empty($doc['document_note_text'])) { @endphp file-Note Text @php } @endphp
@if(!empty($doc['document_id'])) @if(!empty($doc['document_download_link']) && !in_array($doc['document_status'],array(3,5)))
@if(array_key_exists('document_download_code', $doc)) @php $dcode = encrypt([ 'dcode' => $doc['document_download_code'], 'doc_filename' => $doc['document_filename'] ]); @endphp file-download @else file-download @endif
@else
@if(@$is_step_locked == 1) file-upload-lock @else
@if($is_itn_user == 0) @endif file-upload
@endif
@endif
Uploaded On
@if(!empty($doc['document_uploaded']))
{{ dateformat($doc['document_uploaded'],DISPLAY_DATE) }}
@endif
{{ ucfirst($doc['document_status_name']) }}
@if(!empty($doc['document_status_date']))
{{ dateformat($doc['document_status_date'],DISPLAY_DATE) }}
@endif
@else
@if(@$is_step_locked == 1) file-upload-lock @else
@if($is_itn_user == 0) @endif file-upload
@endif
@if($is_itn_user == 1) Pending to upload @else Upload Instructions @endif
@endif
@if(!empty($doc['document_id'])) View upload history @else   @endif
@endforeach @endif
@endif
@if(@$active_stage == 2)

Documents required to expedite the J-1 visa filing process after your placement is confirmed (obtaining some documents might take some time, that’s why we ask you to start collecting these documents as early as possible, in order not to delay your arrival in the USA)

@else

As part of the U.S. Department of State regulations, we need the following documents for completing your visa file...

@endif
@if(!empty($documents)) @foreach($documents as $doc)
@php $required_class = "text-warning"; $doc_desc = $doc['doc_desc']; if($doc['requirement_type'] == 1) { $required_class = "text-danger"; if(!empty($doc_desc)){ $doc_desc .= "
(required)"; }else{ $doc_desc .= "(required)"; } } @endphp @if(!empty($doc_desc)) @endif {{ $doc['document_label'] }} @php if(!empty($doc['document_note_text'])) { @endphp file-Note Text @php } @endphp
@if(!empty($doc['document_id'])) @if(!empty($doc['document_download_link']) && !in_array($doc['document_status'],array(3,5)))
@if(array_key_exists('document_download_code', $doc)) @php $dcode = encrypt([ 'dcode' => $doc['document_download_code'], 'doc_filename' => $doc['document_filename'] ]); @endphp file-download @else file-download @endif
@else
@if(@$is_step_locked == 1) file-upload-lock @else
@if($is_itn_user == 0) @endif file-upload
@endif
@endif
Uploaded On
@if(!empty($doc['document_uploaded']))
{{ dateformat($doc['document_uploaded'],DISPLAY_DATE) }}
@endif
{{ ucfirst($doc['document_status_name']) }}
@if(!empty($doc['document_status_date']))
{{ dateformat($doc['document_status_date'],DISPLAY_DATE) }}
@endif
@else
@if(@$is_step_locked == 1) file-upload-lock @else
@if($is_itn_user == 0) @endif file-upload
@endif
@if($is_itn_user == 1) Pending to upload @else Upload Instructions @endif
@endif
@if(!empty($doc['document_id'])) View upload history @else   @endif
@endforeach @endif
@if((@$current_step_key == @$step_key) && $is_itn_user == 0)
@endif @endif