@extends('admin.layout') @php $selLang = \App\Language::where('code', request()->input('language'))->first(); @endphp @if(!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
Gallery Categories
@if (!empty($langs)) @endif
@if (count($categories) == 0)

NO GALLERY CATEGORY FOUND!

@else
@foreach ($categories as $category) @endforeach
Name Status Serial Number Actions
{{ strlen($category->name) > 100 ? convertUtf8(substr($category->name, 0, 100)) . '...' : convertUtf8($category->name) }} @if ($category->status == 1)

Active

@else

Deactive

@endif
{{ $category->serial_number }} Edit
@csrf
@endif
{{-- create modal --}} @include('admin.gallery.create_category') {{-- edit modal --}} @include('admin.gallery.edit_category') @endsection @section('scripts') @endsection