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

Country Management

Manage countries and their information

Add New Country

Total Countries

{{ $stats['total'] }}

Active

{{ $stats['active'] }}

Inactive

{{ $stats['inactive'] }}

With Flag

{{ $stats['with_image'] }}

Without Flag

{{ $stats['without_image'] }}

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif

All Countries

@forelse($countries as $country)
@if($country->image) {{ $country->name }} @else

No Flag

@endif

{{ $country->name }}

@if($country->code)
{{ $country->code }}
@endif
Order: {{ $country->sort_order }}
@empty

No countries found

Get started by adding your first country

@endforelse
@if ($countries->hasPages())
{{ $countries->links() }}
@endif
@endsection