@extends('user.layout') @php $selLang = \App\Models\Language::where([ ['code', \Illuminate\Support\Facades\Session::get('currentLangCode')], ])->first(); $userDefaultLang = \App\Models\User\Language::where([ ['user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id], ['is_default', 1], ])->first(); $userLanguages = \App\Models\User\Language::where( 'user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id, )->get(); @endphp @if (!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
{{ __('Categories') }}
@includeIf('user.partials.languages')
{{ __('Add_Category') }}
@if (count($itemcategories) == 0)

{{ __('NO_ITEM_CATEGORY_FOUND') }}

@else
@if ( $userBs->theme != 'home_eight' && $userBs->theme != 'home_nine' && $userBs->theme != 'home_ten' && $userBs->theme != 'home_eleven' && $userBs->theme != 'home_twelve') @endif @if ($userBs->theme == 'home_fourteen') @endif @foreach ($itemcategories as $key => $category) @if ( $userBs->theme != 'home_eight' && $userBs->theme != 'home_nine' && $userBs->theme != 'home_ten' && $userBs->theme != 'home_eleven' && $userBs->theme != 'home_twelve') @endif @if ($userBs->theme == 'home_fourteen') @endif @endforeach
{{ __('Name') }} {{ __('Image') }}{{ __('Featured') }}{{ __('Footer') }}{{ __('Status') }} {{ __('Actions') }}
{{ convertUtf8($category->name) }} ...
@csrf
@csrf
@if ($category->status == 1)

{{ __('Active') }}

@else

{{ __('Deactive') }}

@endif
{{ __('Edit') }}
@csrf
@endif
@endsection @section('scripts') @endsection