@php $mark_update = true; $q_type = $answer_details->getQMSQuestionType->question_type; //$answer = $answer_details->exam_answer; $answer = $answer_content; if(empty($answer)) { $mark_update = false; } function getextension($path){ $extension = pathinfo($path, PATHINFO_EXTENSION); $explode = explode('?',$extension); return $explode[0]; } $image_count = []; @endphp

Question

Question :
{!! $list ? $list->question : "" !!}
Answer :
{!! $answer !!}
@if($list->sub_question_upload == 1) @if(count($subj_doc_list))
Documents :
Please wait, Loading...
@php $i=1; @endphp @foreach($subj_doc_list as $doc) @php $s3_url= $doc ? \HireMeeHelper::getAWSImageUrl($doc->s3_id,config('filesystems.disks.hiremeeprodev.bucket'),'hiremeeprodev') : ""; $check_extn = getextension($s3_url); @endphp @endforeach
# Files
{{$i++}} @if($check_extn == 'pdf') @else @php $image_count[] = getextension($s3_url); @endphp @endif
@php $mark_update = true; @endphp @elseif(empty($answer) && count($subj_doc_list)==0) @php $mark_update = false; @endphp @endif @endif
@if(count($image_count) > 1)
Click here to download the all images as PDF   
@endif
Max Marks :
Marks :
Please wait, Loading...

Please wait, Loading...