@extends('layouts.vertical') @section('css') @endsection @section('breadcrumb')

Enrolment Check

@endsection @section('content')
{{$enrChk->title}}
@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))
@php $flag = 0; @endphp @foreach ($room->childList as $child)
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('content') @endsection