@extends('layouts.school') @section('title', 'Portal Account') @section('header', 'Staff Management') @section('content') @php $sid = request()->route('schoolId'); @endphp
← Back to profile

{{ $member->fullName() }}

Staff login & portal access

@if ($member->user)
Account: {{ $member->user->email }} · Role: {{ $member->user->role instanceof \App\Enums\UserRole ? $member->user->role->label() : ucfirst((string) $member->user->role) }} · Status: {{ $member->user->is_active ? 'Enabled' : 'Disabled' }}
@csrf
@csrf @method('PATCH')

Staff members sign in via the Staff Login at /school/{{ $school->id }}/login/staff. Their role determines which workspace they land on.

@else

Create a portal account so this staff member can sign in through the school's Staff Login with role-appropriate access.

@csrf
@error('email')

{{ $message }}

@enderror
@endif
@endsection