@if(isset($init->children) && !empty($init->children))
@foreach($init->children as $child)
@endforeach
@php $is_child_exist = true; @endphp
@else
No children found
Add child
@endif
@php $count = 0 @endphp
@if(isset($init->frameworks) && !empty($init->frameworks))
The following are goals which haven’t been achieved yet.
@foreach($init->frameworks as $curricula)
@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)
@endforeach
@endif
@endforeach
@else
@if(isset($theme->goals) && !empty($theme->goals))
@foreach($theme->goals as $goal)
@endforeach
@endif
@endif
@php $count++ @endphp
@endforeach
@endif
@endforeach
@endif