@extends('layouts.app', ['pageTitle' => 'Payroll', 'pageSubtitle' => 'Prepare payroll records and track payment status']) @section('content')

Create Payroll Record

@csrf

Payroll Records

@foreach($records as $r)@endforeach
NoStaffPeriodGrossDeductionsTaxNetStatus
{{ $r->payroll_number }}{{ $r->user_name }}{{ $r->pay_period }}₦{{ number_format($r->gross_pay,2) }}₦{{ number_format($r->deductions,2) }}₦{{ number_format($r->tax_amount,2) }}₦{{ number_format($r->net_pay,2) }}{{ $r->status }}
@endsection