@extends('layouts.app') @section('title', 'Payroll Management') @section('subtitle', 'Manage employee payroll and salary processing') @section('content')
Total Payrolls
{{ $stats['total_payrolls'] }}
Draft
{{ $stats['draft_payrolls'] }}
Paid
{{ $stats['paid_payrolls'] }}
Total Net Salary
TZS {{ number_format($stats['total_net_salary'], 0) }}
| Employee | Period | Basic Salary | Advance | Gross Salary | Deductions | Net Salary | Status | Actions |
|---|---|---|---|---|---|---|---|---|
|
{{ $payroll->user->initials }}
{{ $payroll->user->full_name }}
{{ $payroll->user->employee_id }}
|
{{ $payroll->formatted_period }} | TZS {{ number_format($payroll->basic_salary, 0) }} | TZS {{ number_format($payroll->advance_salary ?? 0, 0) }} | TZS {{ number_format($payroll->gross_salary, 0) }} | TZS {{ number_format($payroll->total_deductions, 0) }} | TZS {{ number_format($payroll->net_salary, 0) }} | {{ ucfirst($payroll->status) }} | |
|
No payroll records found Create your first payroll or generate monthly payrolls. |
||||||||