@extends('layouts.app') @section('content')
Update User: {{ $user->name }}
Edit user information and settings
Back to Users
1
2
3
@if ($errors->any()) @endif
@method('PUT') @csrf
Personal Information

Enter the user's basic personal details

Format: 255XXXXXXXXX (12 digits starting with 255)
Check this to generate a new password for the user (will be sent via SMS)
Administrative Information

Set user roles, permissions and status

Current Role Information
Current Role: {{ $user->roles->first()->name ?? 'No role assigned' }}
Current Status: @if($user->status == 'active') Active @else Inactive @endif
Location & Organization

Assign user to organizational units and locations

Current Location Assignment
Region
{{ $user->region->name ?? 'Not assigned' }}
District
{{ $user->district->name ?? 'Not assigned' }}
Branch
{{ $user->branch->name ?? 'Not assigned' }}
Department
{{ $user->department->name ?? 'Not assigned' }}
@endsection