@extends("admin/layouts.master-soyuz") @section('title','All Subcategories |') @section("body")
Subcategory
@can('subcategory.create') + Add New Subcategory

@endcan

Drag and Drop to sort the Subcategories

@foreach($subcategory as $key=> $cat) @endforeach
ID Image Subcategory Detail Icon Status Featured Added/ Updated On Action
{{$i++}} @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)) }}

@can('subcategory.delete') @foreach($subcategory as $key=> $cat) @endforeach @endcan @endsection @section('custom-script') @endsection