@extends('layouts.admin') @section('title', 'Account & User Settings') @section('page-title', 'Account & User Settings') @section('content') {{-- Header Banner --}}

Account Management & Security

Manage your administrator profile, change security credentials, and provision staff admin accounts.

{{-- Column 1: Profile & Password (2 cols on desktop) --}}
{{-- Card 1: Administrator Profile Details --}}

Profile Information

Update your account name and email address

@csrf @method('PUT')
{{-- Name --}}
@error('name')

{{ $message }}

@enderror
{{-- Email --}}
@error('email')

{{ $message }}

@enderror
{{-- Card 2: Security & Password Update --}}

Change Password

Ensure your account is using a long, secure password

@csrf @method('PUT') {{-- Current Password --}}
@error('current_password')

{{ $message }}

@enderror
{{-- New Password --}}
@error('password')

{{ $message }}

@enderror
{{-- Confirm Password --}}
{{-- Card 3: Admin Staff Accounts --}}

Administrator Team

Authorized clinic users with access to the admin dashboard

{{ $allAdmins->count() }} Active {{ Str::plural('Admin', $allAdmins->count()) }}
{{-- List of Admin Users --}}
@foreach($allAdmins as $u) @endforeach
User Email Address Role Action
{{ strtoupper(substr($u->name, 0, 1)) }}
{{ $u->name }} @if($u->id === $admin->id) You @endif
{{ $u->email }} Super Admin @if($u->id !== $admin->id)
@csrf @method('DELETE')
@else Active @endif
{{-- Provision New Admin Form --}}

Add New Administrator

@csrf
{{-- Column 2: System Information & Clinic Summary --}}
{{-- Card: Current User Summary --}}
{{ strtoupper(substr($admin->name, 0, 1)) }}

{{ $admin->name }}

{{ $admin->email }}

Active Administrator
Account Created: {{ $admin->created_at ? $admin->created_at->format('d M Y') : 'N/A' }}
Current Session: Online
@csrf
{{-- Card: System Diagnostics --}}

System Diagnostics

PHP Version
{{ phpversion() }}
Laravel Framework
{{ app()->version() }}
Database Driver
{{ config('database.default') }}
Environment
{{ app()->environment() }}
Server Time
{{ now()->format('H:i T') }}
{{-- Card: Clinic Contact Quick Info --}}

Experior Clinics Support

Experior Clinics and Diagnostics Limited (ECDL) medical helpline and technical inquiry channels.

Area 10: 0913 935 0850
Kubwa: 0913 935 0852
info@experiordiagnostics.com
@endsection