Union Structure
-
@foreach($categories as $k => $category)
{{ $category['name'] }}
@if(!empty($category->categories))
@include('Admin.union.structure3', [ 'category' => $category])
@endif
@endforeach