@extends('admin.layouts.master-soyuz') @section('title',__('All Childcategories')) @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('All Childcategories') }} @endslot @slot('menu1') {{ __('Childcategories') }} @endslot @slot('button')
@endslot @endcomponent{{ __("ID") }} | {{ __('Image') }} | {{ __('Category Title') }} | {{ __('Status') }} | {{ __('Featured') }} | {{ __('Updated') }} | {{ __('Action') }} |
---|---|---|---|---|---|---|
{{$key+1}} | @if($cat->image != '' && file_exists(public_path().'/images/grandcategory/'.$cat->image) ) @else @endif |
{{ __('Name') }}: {{ $cat->title }} {{ __('Description') }}: {{ strip_tags($cat->description) }} {{ __("Subcategory") }}: {{ isset($cat->subcategory) ? $cat->subcategory->title : '' }} |
@can('childcategory.edit') @endcan | @can('childcategory.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('childcategory.edit')
{{ __('Edit') }}
@endcan
@can('childcategory.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 must be already put in :dir folder",['dir' => '/public/images/subcategory/)'])}} ) . |
4 | icon | {{ __('No') }} | {{__("Icon class name eg:")}} fa-book. . |
5 | description | {{ __('No') }} | {{ __('Description of your category.') }} |
6 | featured | {{ __('No') }} | {{ __('Set subcategory to be featured') }} 1 = {{ __('Yes') }}, 0 = {{ __('No') }}. |
7 | parent_id | {{ __('Yes') }} | {{ __('Parent category id to be passed here. It means that this childcategory is linked with given category id.') }} |
8 | subcat_id | {{ __('Yes') }} | {{ __('Subcateory id to be passed here. It means that this childcategory is linked with given subcategory id.') }} |