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