Details of checklists {{ $questionSetJob->question_set->title }}
@foreach($questionData as $section) @foreach($section['categories'] as $category) @php $count_no = 0; foreach($category['questions'] as $question){ if($question['answer'] === "No"){ $count_no++; } } @endphp @if($count_no > 0) @foreach($category['questions'] as $question) @if($question['answer'] === "No") @endif @endforeach @endif @endforeach @endforeach
Category Questions Comments Reponse Score Possible score Corrective Action plan
{{ $category['category_name'] }} {{ $question['content'] }} {{ $question['answer_comment'] }} {{ $question['answer'] }} {{ $question['answer_score'] }} {{ $question['possible_score'] }} {{ $question['answer_corrective_action'] }}
@if($rating = $questionSetJob->getDecision()) @endif @foreach($ratingFamilies as $ratingFamily) @endforeach @foreach($scorings as $scoring) @endforeach @if($rating = $questionSetJob->getDecision()) @if($rating)@endif @endif @foreach($ratingFamilies as $ratingFamily)
Overall rating {{$ratingFamily}} Scoring Duration
{{$rating->label}}