@extends('admin.layouts.master-soyuz') @section('title',__('All Subcategories')) @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('All Subcategories') }} @endslot @slot('menu1') {{ __('Subcategories') }} @endslot @slot('button') @can('subcategory.create')
{{__("Import Subcategories")}} {{__("Add Subcategory")}}
@endslot @endcomponent @endcan
{{__('All Subcategories')}}
{{ __("Note") }}:
  • {{ __("Drag and Drop to sort the Subcategories") }}
@foreach($subcategory as $key => $cat) @endforeach
# {{ __("ID") }} {{ __("Image") }} {{ __('Subcategory Detail') }} {{ __('Icon') }} {{ __('Status') }} {{ __('Featured') }} {{ __('Added/ Updated On') }} {{ __('Action') }}
{{ ++$key }} {{ $cat->id }} @if($cat->image != '' && file_exists(public_path().'/images/subcategory/'.$cat->image) ) @else @endif

Name: {{$cat->title}}

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

{{__("Parent Category")}}: {{$cat->category['title'] ?? ''}}

@can('subcategory.edit')
{{ csrf_field() }}
@endcan
@can('subcategory.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