@extends('layouts.app') @section('title', 'Edit Staff') @section('content')

Edit Staff Member

Update staff member role and team assignment

@csrf @method('PUT')
@error('role')
{{ $message }}
@enderror
@error('team_id')
{{ $message }}
@enderror
Cancel
Staff Information
@if($staff->user)

Name: {{ $staff->user->first_name }} {{ $staff->user->last_name }}

Email: {{ $staff->user->email }}

@else

Email: {{ $staff->email ?? 'Pending' }}

Status: Pending Invitation

@endif

Current Role: {{ ucfirst($staff->role) }}

@if($staff->user)

Status: {{ ucfirst(str_replace('_', ' ', $staff->status)) }}

Created: {{ $staff->created_at->format('M d, Y') }}

@else

Invited: {{ $staff->invited_at ? $staff->invited_at->format('M d, Y') : 'N/A' }}

Attempts: {{ $staff->verification_attempts ?? 0 }}/3

@endif
@endsection