@extends('layouts.app') @section('title', 'Countries') @push('styles') @endpush @section('content')

Countries

@can('core.manage') Add New Country @endcan

{{ $items->total() }} countries found.

@forelse ($items as $item) @empty @endforelse
Name Code Status Actions
{{ $item->name }} {{ $item->code }} {{ $item->status }} @can('core.view') View @endcan @can('core.manage') Edit @endcan @can('core.manage') {{-- ✅ SweetAlert2 ট্রিগার করার জন্য ক্লাস এবং data-url অ্যাট্রিবিউট --}} Delete @endcan
No countries found. Adjust the filters or create a new one.
{{-- ✅ Pagination (শুধু বাম পাশে Showing দেখাবে, ডান পাশে শুধু বাটন) --}}
Showing {{ $items->firstItem() ?? 0 }}–{{ $items->lastItem() ?? 0 }} of {{ $items->total() }} results
{{ $items->appends(request()->query())->links('pagination::bootstrap-5') }}
{{-- ✅ ডিলিট করার জন্য হিডেন ফর্ম (SweetAlert কনফার্ম করলে এটি সাবমিট হবে) --}} @endsection @push('scripts') {{-- SweetAlert2 CDN --}} @endpush