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

{{ __('NO AMENITY FOUND') . '!' }}

@else
@foreach ($amenityContents as $content) @endforeach
{{ __('Icon') }} {{ __('Name') }} {{ __('Status') }} {{ __('Serial Number') }} {{ __('Actions') }}
{{ strlen($content->name) > 50 ? mb_substr($content->name, 0, 50, 'UTF-8') . '...' : $content->name }} @if ($content->amenity->status == 1)

{{ __('Active') }}

@else

{{ __('Deactive') }}

@endif
{{ $content->amenity->serial_number }}
@endif
{{-- create modal --}} @include('backend.property.amenity.create') {{-- edit modal --}} @include('backend.property.amenity.edit') @endsection