@include('layout.header') RAV Accreditation Previous Applications View {{-- --}}
@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') @elseif(Auth::user()->role == '5') @include('layout.secretariat') @elseif(Auth::user()->role == '6') @include('layout.sidbarAccount') @endif @include('layout.rightbar')
Back
Basic Information
First Name Middle Name Last Name Organization/Institute Email Mobile
{{ $applicationDetails->user->firstname }} {{ $applicationDetails->user->middlename }} {{ $applicationDetails->user->lastname }} {{ $applicationDetails->user->organization }} {{ $applicationDetails->user->email }} {{ $applicationDetails->user->mobile_no }}
Designation Country State City Postal Code
{{ $applicationDetails->user->designation }} {{ $applicationDetails->user->countryDetail->name }} {{ $applicationDetails->user->stateDetail->name }} {{ $applicationDetails->user->cityDetail->name }} {{ $applicationDetails->user->postal }}
Address
{{ $applicationDetails->user->address }}
Single Point of Contact Details (SPoC)
Name Contact Email Designation
{{ $applicationDetails->Person_Name }} {{ $applicationDetails->Contact_Number }} {{ $applicationDetails->Email_ID }} {{ $applicationDetails->designation }}
@foreach ($applicationDetails->courses as $item)
{{ Str::ucfirst($item->course_name) }}
Course Name Duration Eligibility Mode of Course Valid To Valid From
{{ Str::ucfirst($item->course_name) }} {{ $item->years ?? '' }} Years(s) {{ $item->months ?? '' }} Month(s) {{ $item->days ?? '' }} Day(s) {{ $item->hours ?? '' }} Hour(s) {{ $item->eligibility ?? '' }} {{ get_course_mode($item->id) }} {{ date('d F Y', strtotime($item->created_at)) }} {{ date('d F Y', strtotime($item->created_at->addYear())) }}
@if (count($item->documents) > 0) @foreach ($item->documents as $document) @endforeach @endif
@if ($loop->iteration == 1) Declaration @elseif ($loop->iteration == 2) Course Curriculum / Material / Syllabus @elseif ($loop->iteration == 3) Course Details (Excel format) @endif @php $extension = pathinfo($document->document_file, PATHINFO_EXTENSION); @endphp @if (in_array($extension, ['xls', 'csv', 'pdf', 'xlsx'])) @if (in_array($extension, ['xls', 'csv', 'xlsx'])) @elseif ($extension == 'pdf') @endif @else @endif
Documents
@foreach ($chapters as $chapter) @foreach ($chapter->questions as $question) @endforeach @endforeach
Sr.No. Objective Criteria Desktop Assessor On-Site Assessor
{{ $chapter->title ?? '' }}
{{ $question->code }} {{ $question->title }} @php $documentsData = getAdminDocument($question->id, $applicationDetails->id) ?? 0; @endphp @if (count($documentsData) > 0)
@if (count($documentsData) <= 1) @foreach ($documentsData as $doc) @if ($doc->application_id == $applicationDetails->id)
{{ getButtonText($doc->id) ?? '' }}
{{ checkFinalRequest($doc->id) }}
@else Documents not uploaded @endif @endforeach @else @foreach ($documentsData as $doc) @if ($doc->application_id == $applicationDetails->id)
{{ getButtonText($doc->id) ?? '' }}
{{ checkFinalRequest($doc->id) }}
@endif @endforeach @endif
@else Documents not uploaded @endif
@php $verifiedDocumentForAdmin = checkVerifiedDocumentAvailableForAdmin($applicationDetails->id, $item->id, $question->id); @endphp @if (isset($verifiedDocumentForAdmin->verified_document) && !empty($verifiedDocumentForAdmin->verified_document)) @php $fileExtension = pathinfo($verifiedDocumentForAdmin->verified_document, PATHINFO_EXTENSION); @endphp @if ($fileExtension == 'pdf') View Document @else View Document @endif @endif
@php $verifiedPhotograph = checkVerifiedDocumentAvailableForAdmin($applicationDetails->id, $item->id, $question->id); @endphp @if (isset($verifiedPhotograph->photograph) && !empty($verifiedPhotograph->photograph)) @php $fileExtension = pathinfo($verifiedPhotograph->photograph, PATHINFO_EXTENSION); @endphp @if ($fileExtension =='pdf') View Photograph @else View Photograph @endif @endif @if ( !isset($verifiedDocumentForAdmin->verified_document) && empty($verifiedDocumentForAdmin->verified_document) && !isset($verifiedPhotograph->photograph) && empty($verifiedPhotograph->photograph)) No Action! @endif
@endforeach
Remark by on-site assessor
@if ( $applicationDetails->gps_pic == '' || $applicationDetails->gps_pic == null || $applicationDetails->final_remark == '' || $applicationDetails->final_remark == null) Data not available! @else
GPS Picture
Remark
{{ $applicationDetails->final_remark }}
@endif
@include('layout.footer')