@extends('nexfloit.layouts.app') @section('title', 'Edit User') @section('content')
User Information
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('username')
{{ $message }}
@enderror
@error('role')
{{ $message }}
@enderror
is_active) ? 'checked' : '' }}>

Cancel
Business Info
@if($user->tenant)

{{ $user->tenant->business_name }}

{{ $user->tenant->code }}

View Business @else

No tenant assigned

@endif
Password
@if($user->password_changed_at)

Last Changed:
{{ \Carbon\Carbon::parse($user->password_changed_at)->format('M d, Y H:i') }}

@if($user->password_changed_by)

Changed By:
{{ $user->password_changed_by == 'nexfloit_admin' ? 'Nexfloit Admin' : 'User' }}

@endif @else

Password has never been changed

@endif
@csrf
Quick Actions
@csrf
@csrf
@endsection