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