@extends('layouts.admin') @section('content')
← Back to Centers

{{ $center->name }}

Edit
@csrf @method('DELETE')

City

{{ $center->city ?? 'N/A' }}

Tablet Capacity

{{ $center->tablet_capacity }}

Contact Person

{{ $center->contact_person ?? 'N/A' }}

Status

@php $statusColors = [ 'active' => 'bg-green-100 text-green-800', 'inactive' => 'bg-red-100 text-red-800', ]; @endphp {{ ucfirst($center->status) }}
@if($center->address)

Address

{{ $center->address }}

@endif

Allocations

@forelse($center->allocations as $allocation) @empty @endforelse
Student Name Exam Name Seat Number
{{ $allocation->student->name ?? 'N/A' }} {{ $allocation->exam->name ?? 'N/A' }} {{ $allocation->seat_number ?? 'N/A' }}
No allocations found for this center.
@endsection