@extends('admin.layout.main') @section('admin')

States Management

Manage your states and regions

Add New State
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif

All States

@forelse($states as $state) @empty @endforelse
State Code Description Status Order Created Actions
{{ $state->name }}
ID: {{ $state->id }}
@if($state->code) {{ $state->code }} @else - @endif
@if($state->description) {{ Str::limit($state->description, 80) }} @else No description @endif
@if($state->is_active) Active @else Inactive @endif
{{ $state->sort_order }}
{{ $state->created_at->format('M j, Y') }}
@csrf

No states found

Get started by creating your first state

Create First State
@if($states->hasPages())
{{ $states->links() }}
@endif
@endsection