@php $user_id = isset($user) ? $user->id : session('user_id'); $competencyList = isset($competencyList) ? $competencyList : []; @endphp

@lang('app.competencies')

@foreach($competencyList as $competency)
@if ($competency->file_name) @include('components.form.form-upload-file', [ 'id' => 'competency_'.$competency->competency_id, 'file' => $competency->original_name, 'file_name' => $competency->file_name, 'withValidUntil' => true, 'valid_until' => $competency->valid_until ?? null, ]) @else @include('components.form.form-upload-file', [ 'id' => 'competency_'.$competency->competency_id, 'withValidUntil' => true, 'valid_until' => null, ]) @endif
@endforeach @if(empty($competencyList))
The Competencies document is not required for this process.
You do not need to submit the Competencies document to proceed.
@endif
{{-- --}} {{-- @if(isset($user))
Status Data: status_data == 'Submitted') class="awaits3" @else class="awaits4" @endif>{{$user->status_data ?? 'Draft'}}
  @endif --}}