@extends('layouts.back-end.app') @section('title', translate('sub_Category')) @section('content')

{{ translate('sub_Category_Setup') }}

@csrf
@foreach($languages as $lang)
@endforeach
{{-- @if (theme_root_path() == 'theme_aster')--}}
{{ THEME_RATIO[theme_root_path()]['Category Image'] }}
{{-- @endif--}}
{{-- @if (theme_root_path() == 'theme_aster')--}}
{{-- @endif--}}
{{ translate('sub_category_list') }} {{ $categories->total() }}
@if (theme_root_path() == 'theme_aster') @endif @foreach($categories as $key=>$category) @if (theme_root_path() == 'theme_aster') @endif @endforeach
{{ translate('ID') }}{{ translate('sub_category_Image') }}{{ translate('sub_category_name') }} {{ translate('category_name') }} {{ translate('priority') }} {{ translate('action') }}
{{ $category['id']}} {{($category['defaultname']) }} {{$category?->parent?->defaultname ?? translate('category_not_found') }} {{ $category['priority']}}
{{ $categories->links() }}
@if(count($categories)==0) @include('layouts.back-end._empty-state',['text'=>'no_sub_category_found'],['image'=>'default']) @endif
@include('admin-views.category.includes.items_modal') @include('admin-views.category.includes.add_items_modal') @endsection @push('script') @include('admin-views.category.includes.script') @endpush