@extends('layouts.vertical', ['withLoader' => true]) @section('css') @endsection @section('breadcrumb')

Checklist

Once a checklist has been completed by a parent, it cannot be edited. You can still add new questions to the checklist but answered questions cannot be changed.
@endsection @section('content')
@csrf
Update Enrollment check
@php $chkCount = 1; @endphp @foreach($enrChk->checklist as $keyItem=>$check) {{--
--}}
@php $chkCount++; @endphp @endforeach
{{--
--}}
Share this enrollment check with selective parents
@if(isset($rooms) && !empty($rooms)) @foreach ($rooms as $key=>$room)
{{$room->name}}
{{$room->description}}
@if(isset($room->childList) && !empty($room->childList))
@foreach ($room->childList as $child) @php $flag = 0; @endphp
child @if(isset($enrChk->childs) && !empty($enrChk->childs)) @foreach ($enrChk->childs as $addedChild) @if($addedChild->child === $child->_id) @php $flag = 1; @endphp @endif @endforeach @if($flag === 0) @endif @else @endif
{{$child->name}}
@endforeach
@endif
@endforeach @endif
@endsection @section('script-bottom') @endsection