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

Convert Staff to System User

Back to Staff

Create System Access for {{ $staff->name }}

@if(session('error'))
Error!
{{ session('error') }}
@endif

Staff Information

Staff ID:
{{ $staff->staff_id }}
Name:
{{ $staff->name }}
Email:
{{ $staff->email }}
Role:
{{ $staff->staffRole->name }}
Contact:
{{ $staff->contact }}

System User Details

@csrf
@error('role') {{ $message }} @enderror This determines what permissions the user will have in the system.
@error('password') {{ $message }} @enderror Password must be at least 8 characters long.
Note: The staff member's email ({{ $staff->email }}) will be used as the username for login.
Cancel
@endsection @section('scripts') @endsection