@extends('adminlte::page') @section('title', 'Reports') @section('content_header')
| Department | Code | Employees |
|---|---|---|
| {{ $department->name }} | {{ $department->code ?: '-' }} | {{ $department->employees_count }} |
| No departments found. | ||
| Status | Records |
|---|---|
| {{ $status }} | {{ $count }} |
| Status | Requests | Days |
|---|---|---|
| {{ $status }} | {{ $data['total'] }} | {{ number_format((float) $data['days'], 1) }} |
| Period | Status | Gross | Deductions | Employer | Net | Cost |
|---|---|---|---|---|---|---|
|
{{ $run->period->name ?? 'Unknown period' }}
@if($run->period)
{{ $run->period->period_start->format('M d') }} - {{ $run->period->period_end->format('M d, Y') }}
@endif
|
{{ $run->status }} | {{ number_format((float) $run->gross_total, 2) }} | {{ number_format((float) $run->deduction_total, 2) }} | {{ number_format((float) $run->employer_contribution_total, 2) }} | {{ number_format((float) $run->net_total, 2) }} | {{ number_format((float) $run->gross_total + (float) $run->employer_contribution_total, 2) }} |
| No payroll runs found for this period. | ||||||
| Totals | {{ number_format((float) $payrollSummary['gross_total'], 2) }} | {{ number_format((float) $payrollSummary['deduction_total'], 2) }} | {{ number_format((float) $payrollSummary['employer_contribution_total'], 2) }} | {{ number_format((float) $payrollSummary['net_total'], 2) }} | {{ number_format((float) $payrollSummary['gross_total'] + (float) $payrollSummary['employer_contribution_total'], 2) }} | |
| {{ $status }} | {{ $count }} |
| {{ $deduction->type }} | {{ number_format((float) $deduction->total, 2) }} |
| No deductions found. |
| Department | Employees | Basic | Allowances | Deductions | Employer | Net | Total Cost |
|---|---|---|---|---|---|---|---|
| {{ $row->department_name }} | {{ $row->employees }} | {{ number_format((float) $row->basic_total, 2) }} | {{ number_format((float) $row->allowance_total, 2) }} | {{ number_format((float) $row->deduction_total, 2) }} | {{ number_format((float) $row->employer_contribution_total, 2) }} | {{ number_format((float) $row->net_total, 2) }} | {{ number_format((float) $row->payroll_cost_total, 2) }} |
| No department payroll cost found for this period. | |||||||
| Run | Deductions | Employer | Total |
|---|---|---|---|
| {{ $run->period->name ?? 'Run #'.$run->id }} | {{ number_format((float) $run->statutory_deduction_total, 2) }} | {{ number_format((float) $run->employer_contribution_total, 2) }} | {{ number_format((float) $run->liability_total, 2) }} |
| No payroll liabilities found. | |||