@extends('layouts.app') @section('content')

🧑‍💼 MP Coordinators

+ Add New Coordinator
{{-- Success Message --}} @if(session('success')) @endif {{-- Search Bar --}}
{{-- Table --}} @if($mpCoordinators->isEmpty())

No MP Coordinators found.

@else
@foreach($mpCoordinators as $mp) @endforeach
# Name Email Phone ID Number Center Created At Actions
{{ $loop->iteration + ($mpCoordinators->currentPage() - 1) * $mpCoordinators->perPage() }} {{ $mp->name }} {{ $mp->email ?? 'N/A' }} {{ $mp->phone ?? 'N/A' }} {{ $mp->id_number ?? 'N/A' }} {{ $mp->center->name ?? '—' }} {{ $mp->created_at ? $mp->created_at->format('Y-m-d') : '-' }} Edit
@csrf @method('DELETE')
{{-- Pagination --}}
{{ $mpCoordinators->links() }}
@endif
{{-- Custom Styling --}} @endsection