@extends('layouts.app') @section('title', 'People and access') @section('content')
INSTITUTION DIRECTORY

People and access

Create and maintain student, lecturer and staff portal accounts. Student academic records are managed separately.

Create an account

@csrf

Portal accounts

{{ $accounts->total() }} account{{ $accounts->total()===1?'':'s' }}

@forelse($accounts as $account)@empty@endforelse
NameEmailRoleAccount stateManage
{{ $account->name }}{{ $account->email }}{{ ucfirst($account->portal_role) }}{{ $account->portal_role==='lecturer' ? ($account->is_active ? 'Approved and active' : ($account->lecturer_approved_at ? 'Suspended' : 'Awaiting approval')) : ($account->is_active?'Active':'Suspended') }}
No student, lecturer or staff accounts found.
{{ $accounts->links() }}
@endsection