@extends('layouts.app') @section('title', __('Training Centers')) @push('styles') @endpush @section('content') {{-- ✅ Header Section --}}

{{ __('Training Centers') }}

Manage training centers for candidate skill development.

@can('training-centre.create') {{ __('Add Training Center') }} @endcan
{{-- ✅ Filter Bar --}}
{{ __('Filter') }} {{ __('Clear') }}
{{-- ✅ Table Card --}}
@forelse($centres as $centre) @empty @endforelse
{{ __('Name') }} {{ __('Phone') }} {{ __('Email') }} {{ __('Status') }} {{ __('Actions') }}
{{ $centre->name }} {{ $centre->phone ?: '—' }} {{ $centre->email ?: '—' }}
@can('training-centre.edit') {{ __('Edit') }} @endcan @can('training-centre.delete') {{-- ✅ SweetAlert2 ট্রিগার করার জন্য বাটন --}} @endcan
{{ __('No training centres found') }}

{{ __('Adjust your filters or add a new training center.') }}

{{-- ✅ Custom Pagination --}}
Showing {{ $centres->firstItem() ?? 0 }}–{{ $centres->lastItem() ?? 0 }} of {{ $centres->total() }} results
{{ $centres->appends(request()->query())->links('pagination::bootstrap-5') }}
{{-- ✅ ডিলিট করার জন্য হিডেন ফর্ম --}} @endsection @push('scripts') {{-- SweetAlert2 CDN --}} @endpush