@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 != '' && 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)) }}

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