@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content')

{{ trans('admin/main.categories') }}

@foreach($categories as $category) @endforeach
{{ trans('admin/main.icon') }} {{ trans('update.order') }} {{ trans('admin/main.title') }} {{ trans('admin/main.sub_category') }} {{ trans('panel.classes') }} {{ trans('home.teachers') }} {{ trans('admin/main.action') }}
{{ $category->order }} {{ $category->title }} {{ $category->subCategories->count() }} {{ count($category->getCategoryCourses()) }} {{ count($category->getCategoryInstructorsIdsHasMeeting()) }} @can('admin_categories_edit') @endcan @can('admin_categories_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/categories/'.$category->id.'/delete', 'deleteConfirmMsg' => trans('update.category_delete_confirm_msg')]) @endcan
@endsection