@extends('layouts.app') @section('content')
Back to Users

Edit User

Update user information and permissions

@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror

Change Password

Leave blank to keep current password

@error('password')

{{ $message }}

@enderror
is_admin) ? 'checked' : '' }} class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500" @if($user->id === auth()->id()) disabled @endif> @if($user->id === auth()->id()) (Cannot change your own admin status) @endif
is_active) ? 'checked' : '' }} class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500" @if($user->id === auth()->id()) disabled @endif> @if($user->id === auth()->id()) (Cannot deactivate yourself) @endif

User Statistics

Member since
{{ $user->created_at->format('M d, Y') }}
Last updated
{{ $user->updated_at->format('M d, Y') }}
TikTok Sales
{{ number_format($user->tiktokSales()->count()) }} records
Shipping Labels
{{ number_format($user->shippingLabels()->count()) }} records
Cancel
@endsection