@csrf @if ($userRecord->exists) @method('PUT') @endif @php $roleLabels = ['admin' => 'Admin', 'supervisor' => 'Site Manager', 'technician' => 'Technician']; $roleDescriptions = [ 'admin' => 'Full system access, team management, compliance, exports, and settings.', 'supervisor' => 'Review reports, manage assigned sites, and approve operational documents.', 'technician' => 'Capture site reports, upload assigned documents, and manage own work queue.', ]; @endphp
@foreach ([1 => 'Basic Info', 2 => 'Role & Permissions', 3 => 'Account Access'] as $step => $label)
@if (! $loop->first) @endif {{ $step }} {{ $label }}
@endforeach
badge

Step 1: Basic Information

admin_panel_settings

Step 2: Role & Permissions

@foreach ($roleLabels as $value => $label) @endforeach
@error('role')
{{ $message }}
@enderror
key

Step 3: Account Access

@error('is_active')
{{ $message }}
@enderror
Cancel