{{--@foreach($subcategories as $subcategory)--}}
{{-- --}}
{{-- @if(count($subcategory->subcategory))--}}
{{-- @include('accounting.subCategoryList',['subcategories' => $subcategory->subcategory,'level' => ($level + 1)])--}}
{{-- @endif--}}
{{--@endforeach--}}
@if(count($subcategories['SubCat']) > 0)
@foreach($subcategories['SubCat'] as $subcategory)
@include('category.sub_categories_list', ['subcategories'=>$subcategory, 'level' => ($level + 2)])
@endforeach
@endif