@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

DS7002 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']; @endphp
@if((empty(@$item['document_filename']) && empty(@$item['document_download_code'])) || empty(@$item['document_download_link']))
DS7002 Signed will be upload by ITN admin.
@else

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

Document Status: @if($document_status == 1) Pending to review @elseif($document_status == 2) Pre-approved By ITN @elseif($document_status == 3) Rejected by ITN @elseif($document_status == 4) Validated by ODYSSEY @elseif($document_status == 5) Rejected by ODYSSEY @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 @if(!empty(@$item['document_download_link'])) View @endif @endif @if($is_itn_user == 0) @if($document_status==1) @elseif($document_status==2) @else @endif @endif @endif
@endforeach
@else

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

Document Status: @if(@$document_data['document_status'] == 1) Pending to review @elseif($document_data['document_status'] == 2) Pre-approved By ITN @elseif($document_data['document_status'] == 3) Rejected by ITN @elseif($document_data['document_status'] == 4) Validated by ODYSSEY @elseif($document_data['document_status'] == 5) Rejected by ODYSSEY @endif


@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 View @else @if(!empty($document_data['document_download_link'])) View @endif @endif @if($is_itn_user == 0) @if(@$document_data['document_status'] == 1) @elseif(@$document_data['document_status'] == 2) @else @endif @endif @endif @else @if($is_itn_user == 1)
DS7002 Signed will be upload by ITN admin.
@else

Training Plan - DS 7002 (Signed) should be a {{ $allow_file_ext }} and doesn't exceed {{ $upload_file_size }} MB.


@endif @endif @endif