@extends('layouts.app') @section('title', 'Payroll Reports') @section('subtitle', 'Employee payroll analytics and summaries') @section('content')

Payroll Reports

Monitor payroll data and salary distributions

Total Payrolls

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

Total Amount

TZS {{ number_format($stats['total_amount']) }}

Pending Amount

TZS {{ number_format($stats['pending_amount']) }}

Paid Amount

TZS {{ number_format($stats['paid_amount']) }}

Filters

Payroll Records

@if($payrolls->count() > 0)
@foreach($payrolls as $payroll) @endforeach
Employee Payroll Month Basic Salary Allowances Deductions Net Salary Status
{{ substr($payroll->user->first_name, 0, 1) }}
{{ $payroll->user->full_name }}
{{ $payroll->user->employee_id }}
{{ $payroll->formatted_period }} TZS {{ number_format($payroll->basic_salary) }} TZS {{ number_format($payroll->total_allowances) }} TZS {{ number_format($payroll->total_deductions) }} TZS {{ number_format($payroll->net_salary) }} {{ ucfirst($payroll->status) }}
{{ $payrolls->links() }}
@else

No payroll records found

Try adjusting your filters or check back later.

@endif
@endsection