@extends('user.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('user.partials.rtl-style') @section('content')
{{ __('Room Categories') }}
@includeIf('user.partials.languages')
{{ __('Add Category') }}
@if (count($roomCategories) == 0)

{{ __('NO ROOM CATEGORY FOUND!') }}

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

{{ __('Active') }}

@else

{{ __('Deactive') }}

@endif
{{ $roomCategory->serial_number }} {{ __('Edit') }}
@csrf
@endif
{{-- create modal --}} @include('user.rooms.categories.create_category') {{-- edit modal --}} @include('user.rooms.categories.edit_category') @endsection