@extends('dashboard.layout.mainlayout') @section('content')

@if(Auth::guard('admin')->user()->hasPermission('country_create')) @else @endif

@lang('user.country') {{ $total }}

@include('partials._errors') @include('partials._session')
@if($countries->count() > 0) @foreach ($countries as $index=>$item) @endforeach
# @lang('user.state') @lang('user.operations')
{{ $index +1 }} {{$item->name}} @if(Auth::guard('admin')->user()->hasPermission('country_read')) @lang('user.govern') @else @lang('user.govern') @endif @if(Auth::guard('admin')->user()->hasPermission('country_update')) @lang('user.edit') @else @lang('user.edit') @endif @if(Auth::guard('admin')->user()->hasPermission('country_delete'))
@csrf @method('DELETE')
@else @endif
@else

@lang('user.no_data_found')

@endif
@include('dashboard.country.create') @include('dashboard.country.edit')
@endsection @section('scripts') @endsection