@extends('layouts.app') @section('title', 'Payroll') @section('content')
Payslips
Batch PDF New Payslip
@forelse($payslips as $p) @empty @endforelse
StaffPeriodEarningDeductionsNettStatus
{{ $p->staff->name }}
{{ $p->staff->passport_no }}
{{ $p->periodLabel() }} RM {{ number_format($p->total_earning,2) }} RM {{ number_format($p->total_deductions,2) }} RM {{ number_format($p->nett_pay,2) }} {{ ucfirst($p->status) }}
No payslips for this period. Create one.
{{ $payslips->links() }}
@endsection