@if($item->allChildren->isNotEmpty()) @else @endif {!! $item->equLoc_name !!}
@if($item->allChildren->isNotEmpty()) @foreach($item->allChildren as $child) @include('localisations_equipment.partials.tree_item', ['item' => $child, 'level' => $level + 1]) @endforeach @endif