@extends('layouts.management') @section('content') @php $currentScopeType = 'organization'; $currentScopeId = $organizations->first()?->id ?? 1; $currentScopeTitle = $organizations->first()?->name ?? 'TANRAIL'; if (isset($activeRole) && $activeRole->pivot) { if (str_contains($activeRole->pivot->scope_type, 'BusinessUnit')) { $currentScopeType = 'business_unit'; $currentScopeId = $activeRole->pivot->scope_id; $bu = $businessUnits->firstWhere('id', $currentScopeId); $currentScopeTitle = $bu ? $bu->name : 'Business Unit #'.$currentScopeId; } elseif (str_contains($activeRole->pivot->scope_type, 'Branch')) { $currentScopeType = 'branch'; $currentScopeId = $activeRole->pivot->scope_id; $br = $branches->firstWhere('id', $currentScopeId); $currentScopeTitle = $br ? $br->name : 'Branch #'.$currentScopeId; } else { $currentScopeType = 'organization'; $currentScopeId = $activeRole->pivot->scope_id; $currentScopeTitle = $organizations->first()?->name ?? 'TANRAIL'; } } @endphp
Staff Directory / Personnel Configuration

Edit Staff: {{ $user->name }}

Profile & Roles

Modify personnel profile credentials, access roles, or reassign operational station jurisdiction.

@csrf @method('PUT')

Personnel Identity & Credentials

Update official name and login credentials.

@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('password')

{{ $message }}

@enderror

Institutional Role & Operational Scope

Determine access permissions and the structural branch/division governed.

Cancel
Live Identity Badge Current Standing
TANRAIL PERSONNEL

Active
Designated Role

Official Email:
Jurisdiction Level:
Operational Scope:
Personnel ID #{{ $user->id }} TRC-SYSTEM
@endsection