@extends('layouts.app') @section('content')

My Profile

Manage your personal information and settings

Your Personal Information

Full Name
Email Address
Phone Number
Rank
Designation
Status
Region
District
Department
Branch
Command
Role
First Login
Last Login
Last Password Change
Last Activity
Login Attempts

Change Your Password

@if($errors->any())
Please fix the following errors:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session('success'))
{{ session('success') }}
@endif
@csrf
Password Requirements:
  • 8-15 characters long
  • At least one uppercase letter
  • At least one lowercase letter
  • At least one number
  • At least one special character (@$!%*#?&)
  • Cannot contain your name
  • Cannot be same as current password
Generate Secure Password

Your Task Performance

@php $enquiriesByStatus = $enquiriesByStatus ?? []; $totalCount = collect($enquiriesByStatus)->sum('count'); $statusConfig = [ 'pending' => ['class' => 'metric-card-pending', 'icon' => 'bx-time'], 'approved' => ['class' => 'metric-card-approved', 'icon' => 'bx-check-circle'], 'rejected' => ['class' => 'metric-card-rejected', 'icon' => 'bx-x-circle'], 'assigned' => ['class' => 'metric-card-assigned', 'icon' => 'bx-user-check'], 'completed' => ['class' => 'metric-card-completed', 'icon' => 'bx-check-double'], 'pending_overdue' => ['class' => 'metric-card-overdue', 'icon' => 'bx-error'], ]; @endphp @if($totalCount > 0)
{{ $totalCount }}
Total Enquiries
@foreach($enquiriesByStatus as $statusData) @php $statusLower = strtolower($statusData['status']); $config = $statusConfig[$statusLower] ?? ['class' => 'metric-card-total', 'icon' => 'bx-info-circle']; @endphp
{{ $statusData['count'] }}
{{ $statusData['status'] }}
@endforeach
@else

No Tasks Performed Yet

You haven't registered or processed any enquiries yet. Your performance analytics and statistics will appear here once you start working on tasks.

Tip: Start registering enquiries to track your performance.
@endif @if($totalCount > 0)
Enquiry Types
@if(count($enquiriesByType ?? []) > 0) @foreach($enquiriesByType ?? [] as $typeItem)
{{ $typeItem['type'] }} {{ $typeItem['count'] }}
@endforeach @else
No Enquiries Yet

You haven't registered any enquiries yet.

@endif
Status Distribution
@if(count($enquiriesByStatus ?? []) > 0) @else
No Data Available

Start working on enquiries to see statistics.

@endif
Enquiries by Type (Bar Chart)
@if(count($enquiriesByType ?? []) > 0) @else
No Data to Display

Enquiry type statistics will appear here once you start working.

@endif
@endif
@endsection