@extends('layouts.vertical') @section('css') @endsection @php $selectedRoom = $selectedChild = ""; if(app('request')->input('room')){ $selectedRoom = app('request')->input('room'); } if(app('request')->input('child')){ $selectedChild = app('request')->input('child'); } $keywordsGoals = []; @endphp @section('breadcrumb')

Add learning story

@endsection @section('content')
@csrf
List of children in Toddle room
@if(isset($initial->firstRoomInfo->childs) && !empty($initial->firstRoomInfo->childs)) @foreach($initial->firstRoomInfo->childs as $child)
@endforeach @endif
Questions

Want to add or remove questions? Use the app configuration section.

@if(isset($initial->storyQuestions) && !empty($initial->storyQuestions)) @foreach($initial->storyQuestions as $key => $question)
@endforeach @endif

List any emerging interests here.

@php $count = 0 @endphp @if(isset($initial->activeCurricula) && !empty($initial->activeCurricula)) @foreach($initial->activeCurricula as $curricula)
{{--

2 recommendations in Approaches to Learning, English Language Learning

--}}
@if(isset($curricula->themes) && !empty($curricula->themes)) @foreach($curricula->themes as $theme)
@if($theme->hasAim == true && isset($theme->aims) && !empty($theme->aims)) @foreach($theme->aims as $aims)

{{$aims->name}} @if(isset($aims->description) && !empty($aims->description)) ({{$aims->description}}) @endif

@if(isset($aims->goals) && !empty($aims->goals)) @foreach($aims->goals as $goal) @if($curricula->hasKeywords == true) @php $keywordsGoals[$goal->_id] = [ 'high' => $curricula->high, 'low' => $curricula->low, 'medium' => $curricula->medium, 'keywords' => $goal->keywords]; @endphp @endif {{-- Low Medium High--}}
@endforeach @endif
@endforeach @else @if(isset($theme->goals) && !empty($theme->goals)) @foreach($theme->goals as $goal) @if($curricula->hasKeywords == true) @php $keywordsGoals[$goal->_id] = [ 'high' => $curricula->high, 'low' => $curricula->low, 'medium' => $curricula->medium, 'keywords' => $goal->keywords]; @endphp @endif
@endforeach @endif @endif
@php $count++ @endphp @endforeach @endif
@endforeach @endif

Reflections

The reflection section is never shared with parents. This step is optional.

@if(isset($initial->reflections) && !empty($initial->reflections)) @foreach($initial->reflections as $key => $reflections)
@endforeach @endif
@include('school.learning-stories.ls-modal') @endsection @section('script-bottom') @endsection