{{-- resources/views/payroll/index.blade.php --}} @extends('layouts.app') @section('title', 'Payroll & Contributions Dashboard') @section('page-title', 'Dashboard') @section('content')

Total Payroll Records

{{ number_format($stats['payroll_count']) }}

payments

Total Contributions

{{ number_format($stats['contribution_count']) }}

account_balance

Latest Upload

{{ $stats['latest_upload'] ?? 'No uploads yet' }}

cloud_upload

Available Periods

{{ $stats['periods_count'] }}

calendar_month

upload_file Upload Records

Upload CSV files for payroll or contribution data

add Upload CSV

manage_accounts Manage Records

View, search, and manage uploaded records

view_list Manage Records

Recent Activity

@if(count($recentActivity) > 0)
@foreach($recentActivity as $activity)
{{ $activity['icon'] }}

{{ $activity['description'] }}

{{ $activity['time'] }}

@endforeach
@else
history

No recent activity

Upload some CSV files to see activity here

@endif
@endsection