@extends('admin.layout') @section('content')
{{ __('States') }}
@includeIf('admin.partials.languages')
{{ __('Add') }}
@if (count($states) == 0)

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

@else
@foreach ($states as $state) @endforeach
{{ __('Name') }} {{ __('Country Name') }} {{ __('Actions') }}
{{ strlen($state->name) > 20 ? mb_substr($state->name, 0, 20, 'UTF-8') . '...' : $state->name }} @if ($state->country_id) {{ $state->country->name }} @else -- @endif
@csrf
@endif
{{-- create modal --}} @include('admin.listing.location.state.create') {{-- edit modal --}} @include('admin.listing.location.state.edit') @endsection @section('script') @endsection