@include('layout.header') RAV Accreditation {{--
admin

Please wait...

--}}
Uploading...
@include('layout.topbar')
@if (Auth::user()->role == '1') @include('layout.sidebar') @elseif(Auth::user()->role == '2') @include('layout.siderTp') @elseif(Auth::user()->role == '3') @include('layout.sideAss') @elseif(Auth::user()->role == '4') @include('layout.sideprof') @endif @include('layout.rightbar')
@if (Session::has('sussess')) @elseif(Session::has('fail')) @endif
Application ID:{{ $applicationData->application_uid }}
@if ($message = Session::get('success'))

{{ $message }}

@endif
@foreach ($chapters as $chapter) @foreach ($chapter->questions as $question) @endforeach @endforeach
Sr.No. Objective criteria Cross reference to supporting evidence provided Action

{{ $chapter->title ?? '' }}

{{ $question->code ?? '' }} {{ $question->title }} @php $documentsData = []; if (isset($file[0])) { $documentsData = getDocument($question->id, $application_id, $course_id) ?? 0; $photographdata = getPhotograph($question->id, $application_id, $course_id) ?? 0; } @endphp {{-- getting documents for each row --}} @if (count($documentsData) > 0)
@foreach ($documentsData as $docItem)
{{ getButtonText($docItem->id) }}
{{ updatedBy($docItem->id) }}
@endforeach @php $last_document = $documentsData[count($documentsData) - 1]; @endphp @if (getCommentsData($last_document->id)) {{-- @dd(getCommentsData($last_document->id)) --}} @if ( $last_document && getCommentsData($last_document->id)->status != 4 && getCommentsData($last_document->id)->status != 3 && getCommentsData($last_document->id)->status != 6)
@endif @endif @foreach ($photographdata as $photo)
{{ getButtonText($photo->id) }}
{{ updatedBy($photo->id) }}
@endforeach
@else
@endif {{-- getting documents for each row end point --}}
@if (checkCommentsExist($question->id, $application_id,$course_id) == true) @else Comment pending! @endif
@include('layout.footer')