@extends('layouts.app') @section('title', 'Payroll Reports') @section('content')

Payroll Reports

Filter by Date Range

Total Gross Pay

LKR {{ number_format($summary['total_gross_pay'], 2) }}

Total Net Pay

LKR {{ number_format($summary['total_net_pay'], 2) }}

Total Employer Contributions

LKR {{ number_format($summary['total_employer_contributions'], 2) }}

Employee Contributions

EPF (8%): LKR {{ number_format($summary['total_epf_employee'], 2) }}

Employer Contributions

EPF (12%): LKR {{ number_format($summary['total_epf_employer'], 2) }}
ETF (3%): LKR {{ number_format($summary['total_etf'], 2) }}

Total Cost

Net Pay: LKR {{ number_format($summary['total_net_pay'], 2) }}
Employer Contribution: LKR {{ number_format($summary['total_employer_contributions'], 2) }}

Grand Total: LKR {{ number_format($summary['total_net_pay'] + $summary['total_employer_contributions'], 2) }}

Payroll Periods

@forelse($periods as $period) @empty @endforelse
Period Status Gross Pay EPF Employee EPF Employer ETF Net Pay Actions
{{ $period->period_start->format('M d, Y') }}
to {{ $period->period_end->format('M d, Y') }}
{{ ucfirst($period->status) }} LKR {{ number_format($period->getTotalGrossPay(), 2) }} LKR {{ number_format($period->getTotalEPFEmployee(), 2) }} LKR {{ number_format($period->getTotalEPFEmployer(), 2) }} LKR {{ number_format($period->getTotalETF(), 2) }} LKR {{ number_format($period->getTotalNetPay(), 2) }} View
No payroll periods found for the selected date range
@endsection