@extends('admin.layouts.master-soyuz') @section('title',__('All Subcategories')) @section('body') @include('admin.layouts.topbar',$data)
| # | {{ __("Image") }} | {{ __("Parent Category") }} | {{ __("Title") }} | {{ __('Status') }} | {{ __('Featured') }} | {{ __('Action') }} |
|---|---|---|---|---|---|---|
| {{ ++$key }} |
@if($cat->image != '' && file_exists(public_path().'/images/subcategory/'.$cat->image) )
|
{{ $cat->category?$cat->category->title:'' }} | {{ $cat->title }} | @can('subcategory.edit') @endcan | @can('subcategory.edit') @endcan |
@can('subcategory.edit')
{{ __("Edit") }}
@endcan
@can('subcategory.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 / Subcategory Files Tab. )') }} . |
| 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_cat | {{ __('Yes') }} | {{ __('Parent category id to be passed here. It means that this subcategory is linked with given category id.') }} |