@extends('template') @section('page-title') Checklist reporting. @endsection @section('tag-title') @endsection @section('page-sub-title') @endsection @section('main-content')
Show details Export to excel
Details of checklists {{ $questionSetJob->question_set->title }} for {{ $questionSetJob->location->name }}
@foreach($questionData as $index => $section) @foreach($section['categories'] as $category) @php $totalQuestion = count($category['questions']); $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 & Details Response 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)
Overall rating