@extends('layouts.vertical') @section('css') @endsection @php $type = 1; @endphp @if(isset($scheme->version) && $scheme->version == 2) @php $type = 2; @endphp @endif @section('breadcrumb')

{{ $type == 2 ? "Weekly" : "Daily"}}: {{$scheme->name}}

@endsection @section('content')
@csrf
Add children in {{$scheme->name}}

Tap to select the children.

@php $count = 0; @endphp @if(isset($scheme->rooms) && !empty($scheme->rooms)) @foreach($scheme->rooms as $key => $room) @if(isset($room->childs) && !empty($room->childs)) @foreach($room->childs as $child) @if($type == 1)
@else
using == "true" ? 'checked' : '' }}>
Child
{{$child->name}}
hours/week
@endif @php $count++; @endphp @endforeach @endif @endforeach @endif
@endsection @section('script-bottom') @endsection