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

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

@else
@if ($userBs->property_country_status == 1) @endif @if ($userBs->property_state_status == 1) @endif @if ($userBs->theme_version == 1) @endif @foreach ($cities as $city) @if ($userBs->property_country_status == 1) @endif @if ($userBs->property_state_status == 1) @endif @if ($userBs->theme_version == 1) @endif @endforeach
{{ __('Country Name') }} {{ __('State Name') }} {{ __('City Name') }}{{ __('Featured') }}{{ __('Status') }} {{ __('Serial Number') }} {{ __('Actions') }}
{{ strlen($city->country_name) > 50 ? mb_substr($city->country_name, 0, 50, 'UTF-8') . '...' : $city->country_name }} @if (!is_null($city->state_name)) {{ strlen($city->state_name) > 50 ? mb_substr($city->name, 0, 50, 'UTF-8') . '...' : $city->state_name }} @else - @endif {{ strlen($city?->name) > 50 ? mb_substr($city?->name, 0, 50, 'UTF-8') . '...' : $city?->name }}
@csrf
@if ($city->status == 1)

{{ __('Active') }}

@else

{{ __('Deactive') }}

@endif
{{ $city->serial_number }} getContent($lang->id); @endphp data-{{ $lang->code }}_name="{{ $cityContent?->name }}" @endforeach data-status="{{ $city->status }}" data-image="{{ asset('assets/img/property-city/' . $city->image) }}" data-serial_number="{{ $city->serial_number }}">
@csrf
@endif
{{ $cities->appends(['name' => request()->input('name'), 'language' => request()->input('language')])->links() }}
{{-- create modal --}} @include('user.property-management.city.create') {{-- edit modal --}} @include('user.property-management.city.edit') @endsection @section('scripts') @endsection