@extends('admin.layouts.master-soyuz') @section('title',__('All Categories')) @section('body') @include('admin.layouts.topbar',$data)
{{__("All Categories")}}
{{__("Add Category")}} {{__("Import Categories")}}
{{ __('Drag and Drop to sort the categories') }}
@foreach($category as $key => $cat) @endforeach
# {{ __('Image') }} {{ __('Title') }} {{ __('Detail') }} {{ __('Status') }} {{ __('Featured') }} {{ __('Action') }}
{{ ++$key }} @if($cat->image != '' && file_exists(public_path().'/images/category/'.$cat->image) ) @else @endif {{ $cat->title }}

{{__('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
@endsection @section('custom-script') @endsection