@extends('admin.layouts.master-soyuz') @section('title',__('All Child Categories')) @section('body') @include('admin.layouts.topbar',$data)
| {{ __("ID") }} | {{ __('Image') }} | {{ __('Sub Category') }} | {{ __('Title') }} | {{ __('Status') }} | {{ __('Featured') }} | {{ __('Action') }} |
|---|---|---|---|---|---|---|
| {{$key+1}} |
@if($cat->image != '' && file_exists(public_path().'/images/grandcategory/'.$cat->image) )
|
{{ isset($cat->subcategory) ? $cat->subcategory->title : '' }} | {{ $cat->title }} | @can('childcategory.edit') @endcan | @can('childcategory.edit') @endcan |
@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.') }} |