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

{{ __('NO PROPERTY CATEGORY FOUND') . '!' }}

@else
@if ($settings->theme_version != 1) @endif @foreach ($categories as $category) @if ($settings->theme_version != 1) @endif @endforeach
{{ __('Type') }} {{ __('Name') }}{{ __('Featured') }}{{ __('Status') }} {{ __('Serial Number') }} {{ __('Actions') }}
{{ ucfirst($category->type) }} {{ strlen($category->name) > 50 ? mb_substr($category->name, 0, 50, 'UTF-8') . '...' : $category->name }}
@csrf
@if ($category->status == 1)

{{ __('Active') }}

@else

{{ __('Deactive') }}

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