@extends('admin.layouts.master-soyuz') @section('title','All Childcategories') @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('All Childcategories') }} @endslot @slot('menu1') {{ __('Childcategories') }} @endslot @slot('button')
{{__("Import Childcategories")}} {{__("Add Childcategory")}}
@endslot @endcomponent
All Childcategories
Note:
  • Drag and Drop to sort the Childcategories
@foreach($cats as $key=> $cat) @endforeach
ID Image Category Title Status Featured Updated Action
{{$key+1}} @if($cat->image != '') @if(@file_exists(public_path().'/images/grandcategory/'.$cat->image) ) @else @endif @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)) }}

@endsection @section('custom-script') @endsection