@extends('admin.layouts.app') @section('title') {{ __('state_list') }} @endsection @section('content')

{{ __('state_list') }} {{ $states->total() }}

@if (userCan('state.create'))   {{ __('create') }} @endif
@if ($states->count() > 1) @endif @if (userCan('state.update') || userCan('state.delete')) @endif @if ($states->count() > 0) @foreach ($states as $state) @if ($states->count() > 1) @endif @if (userCan('state.update') || userCan('state.delete')) @endif @endforeach @else @endif
# {{ __('name') }} {{ __('city_count') }} {{ __('country') }} {{ __('action') }}
id }} class="sub_chk" id="checkbox{{ $state->id }}">
{{ $state->id }} {{ $state->name }} ({{ $state->cities_count }})
@if (userCan('state.update')) @endif @if (userCan('state.delete'))
@method('DELETE') @csrf
@endif
{{ __('no_data_found') }}
@if (request('perpage') != 'all' && $states->total() > $states->count())
{{ $states->links() }}
@endif
@endsection @section('style') @endsection @section('script') @endsection