@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')
| Name |
Country |
Cities |
Status |
|
@forelse ($provinces as $province)
|
{{ $province->name }}
{{ $province->slug }}
|
{{ $province->country?->name ?? '—' }} |
{{ $province->cities_count }} |
@if ($province->is_active)
Active
@else
Inactive
@endif
|
Cities
Add city
Edit
|
@empty
| No provinces yet. |
@endforelse
{{ $provinces->links() }}
@endsection