@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')
@endslot @endcomponent# | {{ __('Category ID') }} | {{ __('Image') }} | {{ __('Detail') }} | {{ __('Icon') }} | {{ __('Status') }} | {{ __('Featured') }} | {{ __('Added/ Updated on') }} | {{ __('Action') }} |
---|---|---|---|---|---|---|---|---|
{{ ++$key }} | {{ $cat->id }} | @if($cat->image != '' && file_exists(public_path().'/images/category/'.$cat->image) ) @else @endif |
{{__('Name')}}: {{$cat->title}} {{__('Description')}}: {{substr(strip_tags($cat->description), 0, 100)}}{{strlen(strip_tags( $cat->description))>100 ? '...' : ""}} |
|
@can('category.edit') @endcan | @can('category.edit') @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('category.edit')
{{ __("Edit") }}
@endcan
@can('category.delete')
{{ __("Delete") }}
@endcan
{{ __("DELETE") }}{{ __('Are You Sure ?')}}{{ __('Do you really want to delete')}}? {{ __('This process cannot be undone.')}} |
{{ __('Follow the instructions carefully before importing the file.') }}
{{ __('The columns of the file should be in the following order.') }}
{{ __('Column No') }} | {{ __('Column Name') }} | {{ __('Required') }} | {{ __('Description') }} |
---|---|---|---|
1 | name | {{ __('Yes') }} | {{ __("Enter category name") }} |
2 | status | {{ __('Yes') }} | {{__('Category status')}} (1 = {{ __('active') }}, 0 = {{ __('deactive') }}) . |
3 | image | {{ __('No') }} | {{__("Name your image eg: example.jpg")}} (Image can be uploaded using Media Manager / Category Files Tab. ) . |
4 | icon | {{ __('No') }} | {{__("Icon class name eg:")}} fa-book. . |
5 | description | {{ __('No') }} | {{__('Description of your category.') }} |
6 | featured | {{ __('No') }} | {{__('Set category to be featured')}} 1 = {{__('Yes')}} , 0 = {{__("No")}}. |