CollectX - RO Performance Dashboard

Relationship Officer performance analytics

{{ now()->format('l, F j, Y') }}
Updated: Just now
No filters applied - showing all data

RS. {{ number_format($totalROCollections, 2) }}

Total RO Collections

{{ $totalROs }}

Total Relationship Officers

{{ $activeROs }}

Active ROs (With Collections)

RS. {{ number_format($roPerformance->last()['amount'] ?? 0, 2) }}

Top RO: {{ $roPerformance->last()['name'] ?? 'N/A' }}

Contact: {{ $roPerformance->last()['contact'] ?? 'N/A' }}

RS. {{ number_format($roPerformance->first()['amount'] ?? 0, 2) }}

Lowest RO: {{ $roPerformance->first()['name'] ?? 'N/A' }}

Contact: {{ $roPerformance->first()['contact'] ?? 'N/A' }}

RS. {{ number_format($roPerformance->avg('amount') ?? 0, 2) }}

Average RO Performance

Based on {{ $roPerformance->count() }} ROs
All Relationship Officers Performance
Total ROs

{{ $totalROs }}

Active ROs

{{ $activeROs }}

Average Collection

RS. {{ number_format($roPerformance->avg('amount'), 2) }}

Total Collection

RS. {{ number_format($totalROCollections, 2) }}

Detailed RO Performance Table
@foreach($roPerformance->reverse() as $index => $ro) @php $percentage = $totalROCollections > 0 ? ($ro['amount'] / $totalROCollections) * 100 : 0; $performanceClass = $percentage >= 10 ? 'bg-success1' : ($percentage >= 5 ? 'bg-warning1' : 'bg-danger1'); @endphp @endforeach
RO Name Contact Collection Amount Performance % Status
{{ substr($ro['name'], 0, 1) }}
{{ $ro['name'] }}
{{ $ro['contact'] }} RS. {{ number_format($ro['amount'], 2) }}
{{ number_format($percentage, 1) }}%
@if($percentage >= 10) Top Performer @elseif($percentage >= 5) Average @else Needs Improvement @endif
Total {{ $roPerformance->count() }} ROs RS. {{ number_format($totalROCollections, 2) }} 100%
Top 5 Relationship Officers
Bottom 5 Relationship Officers
Relationship Officers Performance Breakdown
@foreach($roWithCenters as $ro) @endforeach
RO Name Total Collection Assigned Centers Performing Centers
{{ $ro['name'] }} RS. {{ number_format($ro['total_amount'], 2) }} {{ $ro['total_centers'] }} centers
@foreach($ro['centers'] as $center) {{ $center['name'] }} (RS. {{ number_format($center['amount'], 2) }}) @endforeach