@extends('layouts.app') @section('content')
@include('partials.title-pad', [ 'title' => __('labels.country_list_heading'), 'search' => $search, 'searchPlaceholder' => __('placeholders.search', ['static' => __('static.country')]), 'list' => $countries, 'export' => 'masters.countries.export', ])
@php $startingIndex = ($countries->currentPage() - 1) * $countries->perPage() + 1; @endphp @forelse ($countries as $key => $country) @empty @endforelse
{{ __('datatable.id') }} {{ __('datatable.name') }} {{ __('datatable.nationality') }} {{ __('datatable.phone_code') }}
{{ $startingIndex + $key }} {{ $country->name }} {{ $country->nationality }} + {{ $country->phone_code }}

{{ __('labels.no_records_found') }}

{{-- Pagination --}} {{ $countries->links('partials.pagination') }} {{-- Pagination End --}}
@section('scripts') @endsection @endsection