@php $level=1; @endphp @if(!empty($branches)) @foreach($branches->where('parent_id',0) as $key=>$branch) {{-- @include('orginstructorpolicy::_single_branch',['branch'=>$branch,'level'=>1])--}} @endforeach @endif
@for($i=2;$i<=$level;$i++) = @endfor @if(count($branch->childs)!=0) @else @endif {{$branch->group}}
@push('js') @endpush