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

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

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

{{ __('Active') }}

@else

{{ __('Inactive') }}

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