@extends("admin/layouts.master-soyuz") @section('title','All Childcategories |') @section("body")
Child Category
@can('childcategory.create') + Add New Childcategory

@endcan

Drag and Drop to sort the Childcategories

@foreach($cats as $key=> $cat) @endforeach
ID Image Category Title Status Featured Updated Action
{{$i++}} @if($cat->image != '' && file_exists(public_path().'images/grandcategory/'.$cat->image) ) @else @endif

Name: {{ $cat->title }}

Description: {{ strip_tags($cat->description) }}

Subcategory: {{ isset($cat->subcategory) ? $cat->subcategory->title : '' }}

@can('childcategory.edit')
{{ csrf_field() }}
@endcan
@can('childcategory.edit')
{{ csrf_field() }}
@endcan

{{ date('M jS Y',strtotime($cat->created_at)) }},

{{ date('h:i A',strtotime($cat->created_at)) }}

{{ date('M jS Y',strtotime($cat->updated_at)) }}

{{ date('h:i A',strtotime($cat->updated_at)) }}

@can('childcategory.delete') @foreach($cats as $key=> $cat) @endforeach @endcan @endsection @section('custom-script') @endsection