@extends('larasnap::layouts.app', ['class' => 'category-parent-index']) @section('title','Category Management') @section('content')

Category Management - Parent Category

@method('POST') @csrf
@canAccess('p_categories.create') Add New Parent Category @endcanAccess
@include('larasnap::list-filters.category-parent')


@forelse($parentCategories as $parentCategory) @empty @endforelse
ID Name(Slug) Label Status Actions
{{ $parentCategory->id }}@isset($parentCategory->parent_category_id) * @endisset {{ $parentCategory->name }} {{ $parentCategory->label }} @if($parentCategory->status === 1) Active @else InActive @endif @canAccess('categories.index') @endcanAccess @canAccess('p_categories.edit') @endcanAccess @canAccess('p_categories.destroy') @endcanAccess
No Parent Category found!
@if($parentCategories->isNotEmpty())

NOTE

  • The asterisk(*) symbol next to the ID represents, the category is both child & parent category.
  • Deleting a Parent Category will delete all its child-category & sub-child-category recursively.
@endif
@endsection