@extends('admin.layouts.master-soyuz') @section('title',__('All Child Categories')) @section('body') @include('admin.layouts.topbar',$data)
{{__("All Child Categories")}}
{{__("Add Child Category")}} {{__("Import Child Categories")}}
{{ __('Drag and Drop to sort the Child Categories') }}
@foreach($cats as $key=> $cat) @endforeach
{{ __("ID") }} {{ __('Image') }} {{ __('Sub Category') }} {{ __('Title') }} {{ __('Status') }} {{ __('Featured') }} {{ __('Action') }}
{{$key+1}} @if($cat->image != '' && file_exists(public_path().'/images/grandcategory/'.$cat->image) ) @else @endif {{ isset($cat->subcategory) ? $cat->subcategory->title : '' }} {{ $cat->title }} @can('childcategory.edit')
{{ csrf_field() }}
@endcan
@can('childcategory.edit')
{{ csrf_field() }}
@endcan
@endsection @section('custom-script') @endsection