@extends('layouts.app') @section('page_title','My Payslips') @section('page_subtitle','View your payroll records and net pay.') @section('content')
@forelse($payrolls as $payroll)@empty@endforelse
PeriodBasicAllowancesDeductionsTaxNet PayStatus
{{ $payroll->pay_period_start?->format('d M Y') }} - {{ $payroll->pay_period_end?->format('d M Y') }}₦{{ number_format($payroll->basic_salary,2) }}₦{{ number_format($payroll->allowances,2) }}₦{{ number_format($payroll->deductions,2) }}₦{{ number_format($payroll->tax,2) }}₦{{ number_format($payroll->net_pay,2) }}{{ ucfirst($payroll->status) }}
No payslips yet.
@endsection