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

{{ __('NO STATES FOUND') }}

@else
@if ($userBs->property_country_status == 1) @endif @foreach ($states as $state) @if ($userBs->property_country_status == 1) @endif @endforeach
{{ __('Country Name') }} {{ __('State Name') }} {{ __('Actions') }}
{{ strlen($state->country_name) > 50 ? mb_substr($state->country_name, 0, 50, 'UTF-8') . '...' : $state->country_name }} {{ strlen($state?->name) > 50 ? mb_substr($state?->name, 0, 50, 'UTF-8') . '...' : $state?->name }} getContent($lang->id); @endphp data-{{ $lang->code }}_name="{{ $stateContent?->name }}" @endforeach>
@csrf
@endif
{{ $states->appends(['name' => request()->input('name'),'language'=>request()->input('language')])->links() }}
{{-- create modal --}} @include('user.property-management.state.create') {{-- edit modal --}} @include('user.property-management.state.edit') @endsection