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

Name: {{$cat->title}}

Description: {{substr(strip_tags($cat->description), 0, 100)}}{{strlen(strip_tags( $cat->description))>100 ? '...' : ""}}

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