@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 != '') @if(file_exists(public_path().'/images/subcategory/'.$cat->image) ) @else @endif @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