@extends('layouts.shell') @section('title', 'Provinces') @section('subtitle', 'Add or edit provinces. Inactive provinces stay in the database and hide from the app.') @section('actions') Cities Add province @endsection @section('content')
All provinces {{ $provinces->total() }} total
@forelse ($provinces as $province) @empty @endforelse
Name Country Cities Status
{{ $province->name }}
{{ $province->slug }}
{{ $province->country?->name ?? '—' }} {{ $province->cities_count }} @if ($province->is_active) Active @else Inactive @endif Cities Add city Edit
No provinces yet.
{{ $provinces->links() }}
@endsection