@include('layout.header') RAV Accreditation
@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')
@php $document = checkOnSitePhotograph($applicationData->id, $questionID, $courseID, auth()->user()->id); @endphp @if ($document != null) @if ($document->photograph)
Photograph Comment
{{ $document->photograph_comment }}
@endif
ON SITE ASSESSOR
@php $pdfUrl = url('level' . '/' . $document->doc_file); $fileExtension = pathinfo($pdfUrl, PATHINFO_EXTENSION); @endphp @if ($fileExtension === 'pdf')

Unable to display PDF. Download Document

@else Download Document @endif
@else
@csrf
Upload Photograph

@endif
@include('layout.footer')