@extends('user.layout') @php $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 @includeIf('user.partials.rtl-style') @section('content') @php $is_section = ['manti', 'pet', 'skinflow', 'jewellery']; @endphp
{{ __('Product') . ' ' }} {{ in_array($userBs->theme, $is_section) ? __('Sections') : __('Tab') }}
@if (!is_null($userDefaultLang)) @if (!empty($userLanguages)) @endif @endif
@if (count($tabs) == 0) @if (in_array($userBs->theme, $is_section))

{{ __('NO PRODUCT SECTION FOUND') }}

@else

{{ __('NO PRODUCT TAB FOUND') }}

@endif @else
@foreach ($tabs as $key => $tab) @endforeach
{{ __('Name') }} {{ __('Products') }} {{ __('Status') }} {{ __('Serial Number') }} {{ __('Actions') }}
{{ convertUtf8($tab->name) }} {{ __('Manage') }} @if ($tab->status == 1)

{{ __('Active') }}

@else

{{ __('Deactive') }}

@endif
{{ $tab->serial_number }}
@csrf
@endif
@include('user.home.tab_section.create') @include('user.home.tab_section.edit') @endsection @section('scripts') @endsection