@extends('layouts.admin') @section('title', 'Institute Details') @section('header-title', 'Institute Details') @section('content')
Name
{{ $institute->name }}
Code
{{ $institute->code }}
Address
{{ $institute->address ?: '-' }}
Contact Email
{{ $institute->contact_email ?: '-' }}
Contact Phone
{{ $institute->contact_phone ?: '-' }}
Status
@if($institute->status === 'approved') Approved @elseif($institute->status === 'pending') Pending @elseif($institute->status === 'rejected') Rejected @endif

Associated Users

@forelse($institute->users as $user) @empty @endforelse
Name Email Role
{{ $user->name }} {{ $user->email }} {{ $user->role }}
No users associated with this institute.

Associated Students

@forelse($institute->students as $student) @empty @endforelse
Name Roll Number Class Status
{{ $student->name }} {{ $student->roll_number }} {{ $student->class }} @if($student->status === 'active') Active @elseif($student->status === 'inactive') Inactive @endif
No students associated with this institute.
Back Edit
@csrf @method('DELETE')
@endsection