@extends('layouts.app') @section('title', 'Edit User - Tiqkets') @section('page-title', 'Edit User') @section('content')
Edit User Information
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('branch_id')
{{ $message }}
@enderror
@error('role')
{{ $message }}
@enderror
{{-- ✅ Password field with eye toggle --}}
@error('password')
{{ $message }}
@enderror
Leave password fields blank to keep current password.
{{-- ✅ Confirm Password field with eye toggle --}}
Cancel
{{-- ✅ Right Info Section --}}
User Details
Current Status: {{ ucfirst($user->status) }}
Current Branch:

{{ $user->branch->branch_name ?? 'N/A' }}

Created:

{{ $user->created_at->format('M d, Y') }}

Last Updated:

{{ $user->updated_at->format('M d, Y') }}

Note

Changing the role or branch will affect the user's permissions and access levels.

@endsection {{-- ✅ Add password toggle script --}} @push('scripts') @endpush {{-- ✅ Optional CSS for nicer look --}} @push('styles') @endpush