@extends('backend.master') @php $table_name='blog_categories'; @endphp @section('table') {{$table_name}} @endsection @section('mainContent') @php $LanguageList = getLanguageList(); @endphp {!! generateBreadcrumb() !!}

@if(!isset($edit)) {{__('courses.Add New Category') }} @else {{__('courses.Update Category')}} @endif

@if(isset($edit)) + @endif
@if(isModuleActive('FrontendMultiLang')) @endif
@if (isset($edit)) @if(permissionCheck('blog-category.update'))
@endif @else @if(permissionCheck('blog-category.store')) @endif @endif @csrf
@foreach ($LanguageList as $key => $language)
has('title') ? 'autofocus' : ''}}> @if ($errors->has('title')) {{ @$errors->first('title') }} @endif
@endforeach
has('position_order') ? 'autofocus' : ''}}>

{{__('courses.Category List')}}

@foreach($categories as $key => $category) @endforeach
{{ __('common.SL') }} {{ __('common.Name') }} {{ __('common.Parent') }} {{ __('common.Position') }} {{ __('common.Status') }} {{ __('common.Action') }}
{{translatedNumber(++$key)}} {{checkParent($category)}} {{@$category->title }} {{@$category->parent->title }} {{@translatedNumber($category->position_order) }} @if(permissionCheck('blog-category.changeStatus')) @else {{$category->status == 1?trans('common.Active'):trans('common.Inactive')}} @endif
@include('backend.partials.delete_modal') @endsection @push('scripts') @endpush