@extends('layouts.app') @section('content')
Monitor and manage loan officers' workload
Total Loans
Assigned
{{ $analytics['total'] > 0 ? round((($analytics['assigned'] ?? 0) / $analytics['total']) * 100, 1) : 0 }}% assigned
Processed
Approved
Rejected
Overdue (3+ Days)
| SN | User | Phone | Assigned Enquiries | Status | Actions | |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item['user']->name }} | {{ $item['user']->email }} | {{ $item['user']->phone_number ?? 'N/A' }} | {{ $item['assigned_count'] }} | @if($item['is_overloaded']) OVERLOADED @else OK @endif | View |
|
No loan officers found in the department |
||||||
| SN | Check Number | Full Name | Loan Amount | Assigned To | Current Status | Days Since Created | Days in Current Status | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $enquiry->check_number }} | {{ ucwords($enquiry->full_name) }} | @if($loan && isset($loan->loan_amount)) Tsh {{ number_format($loan->loan_amount) }} @else N/A @endif | @foreach($enquiry->assignedUsers as $assignee) {{ $assignee->name }} @endforeach | @if($enquiry->status == 'pending') Pending @elseif($enquiry->status == 'assigned') Assigned @elseif($enquiry->status == 'approved') Approved @else {{ ucfirst($enquiry->status) }} @endif | {{ $daysSinceCreated }} days | {{ $daysInCurrentStatus }} days |
|