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

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

@else
@if ($settings->property_country_status == 1) @endif @foreach ($states as $state) @if ($settings->property_country_status == 1) @endif @endforeach
{{ __('Country Name') }}{{ __('State Name') }} {{ __('Actions') }}
{{ strlen($state->country?->getContent($language->id)->name) > 50 ? mb_substr($state->country?->getContent($language->id)->name, 0, 50, 'UTF-8') . '...' : $state->country?->getContent($language->id)->name }} {{ strlen($state->name) > 50 ? mb_substr($state->name, 0, 50, 'UTF-8') . '...' : $state->name }}
@endif
{{-- create modal --}} @include('backend.property.state.create') {{-- edit modal --}} @include('backend.property.state.edit') @endsection