{{ $stats['total_employees'] }}
Active Employees{{ $stats['pending_batches'] }}
Pending Batches{{ \App\Helpers\Mk::formatCurrency($stats['this_month_processed'], 0) }}
This Month Paid{{ $stats['active_loans'] }}
Active LoansRecent Payroll Batches
@if($recentBatches->count() > 0)
@else
@endif
| Batch Name | Employees | Amount | Status | Date |
|---|---|---|---|---|
| {{ $batch->batch_name }} | {{ $batch->total_employees }} | {{ \App\Helpers\Mk::formatCurrency($batch->total_net_amount, 0) }} | {{ ucfirst($batch->status) }} | {{ $batch->created_at->format('M d, Y') }} |
System Status
Employee Setup
{{ $stats['total_employees'] }}/{{ App\Models\User::whereIn('user_type', ['teacher', 'admin', 'librarian', 'accountant'])->count() }}
Pending Approvals
@if($stats['pending_batches'] > 0)
{{ $stats['pending_batches'] }} pending
@else
All Clear
@endif
Active Loans
@if($stats['active_loans'] > 0)
{{ $stats['active_loans'] }} active
@else
None
@endif