@extends('layouts.app')
@section('content')
@include('shared.messages')
{{__('texte.categories_arr.categories_order.categories')}}
@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
@endsection