@extends('layouts.admin') @section('content')

All Country Lists

@if (session()->has('message'))
{{ session()->get('title')}}..!
{{ session()->get('message')}}
@endif @php $id=0;@endphp @foreach($countries as $country) @php $id++;@endphp @if($country->status == true) @else @endif @if($country->status == true) @else @endif @endforeach
No Country Name Total State Total Posts Status Action
{{$id}} {{$country->name}} {{count($country->states)}} 600PublishedNot Published Un-Publish Now Publish Now

Add Country

@csrf
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@endsection