@extends('admin::layouts.app') @section('content')
@include('admin::partials.title-pad', [ 'title' => __('master.country_master'), 'search' => $search, 'searchPlaceholder' => __('placeholder.search_title'), 'create' => 'admin.countries.create', 'list' => $countryData, ])
{{-- Table Start --}} @forelse ($countryData as $key => $country) @empty @endforelse
# {{ __('label.name') }} {{ __('master.country_code') }} {{ __('master.dial_code') }} {{ __('admin.status') }} {{ __('admin.created_at') }} {{ __('admin.action') }}
{{ $key + 1 }} {{ $country->name }} {{ $country->code }} {{ $country->dial_code }} {{ ucfirst($country->status) }} {{ $country->created_at ? Modules\Admin\Helpers\GeneralHelper::dateFormat($country->created_at) : '-' }} @if (Auth::user()->hasPermission('admin.countries.edit')) @endif @if (Auth::user()->hasPermission('admin.countries.delete')) @endif

{{ __('admin::message.no_records_found') }}

{{-- Table End --}}
{{-- Pagination --}} {{ $countryData->appends(request()->input())->links('admin::partials.pagination') }} {{-- Pagination End --}}
@endsection