@permission('category-route-list')
@foreach($categories as $current_category)
-
{{$current_category->name}}
@if(count($current_category->children)>0)
@foreach($current_category->children as $current_sub_category)
-
{{$current_sub_category->name}}
@if(count($current_sub_category->children)>0)
@foreach($current_sub_category->children as $current_sub_sub_category)
-
{{$current_sub_sub_category->name}}
@endforeach
@endif
@endforeach
@endif
@endforeach
@endpermission