@endif
@if($showRemarkUpload)
@php
$requiredDocs = ['ULREJ01'];
$is_delete = true;
@endphp
@include('layout.partials.files')
@endif
@if ($step === 1)
@elseif ($step === 2)
@include('livewire.nso.scrutiny.nso-company-details')
@elseif ($step === 5)
@include('livewire.nso.scrutiny.nso-payment-doc')
@elseif ($step === 3)
@php
$docData = collect($documentData)->firstWhere('c_document_id', 'ULAPPFE');
$ULAPPFE=($docData['latest_files'])?'ULAPPFE':null;
$docData = collect($documentData)->firstWhere('c_document_id', 'ULAPP05');
$ULAPP05=($docData['latest_files'])?'ULAPP05':null;
$docData = collect($documentData)->firstWhere('c_document_id', 'ULFEQ');
$ULFEQ=($docData['latest_files'])?'ULFEQ':null;
$docData = collect($documentData)->firstWhere('c_document_id', 'ULAPP06');
$ULAPP06=($docData['latest_files'])?'ULAPP06':null;
@endphp
@php $docIds = [$ULAPPFE, $ULAPP05 ,$ULFEQ]; @endphp
@elseif ($step === 4)
@include('livewire.nso.scrutiny.service')
@endif
@else
{!! $this->previewScrutinyApplication() !!}
{{-- Forward to officer modal --}}
@if($showForwardModal)
Forward to Other Officer
@error('forwardTo')
{{ $message }}
@enderror
@error('forwardRemarks')
{{ $message }}
@enderror
@endif
@endif