{{ $payroll->period_start ? $payroll->period_start->format('d M Y') : 'N/A' }} - {{ $payroll->period_end ? $payroll->period_end->format('d M Y') : 'N/A' }}
{{ __('Gross Salary') }}
{{ number_format($payroll->total_gross, 2) }}
{{ __('Total Deductions') }}
{{ number_format($payroll->total_deductions, 2) }}
{{ __('Net Payment') }}
{{ number_format($payroll->total_net, 2) }}
| {{ __('Employee') }} | {{ __('Basic Pay (USD)') }} | {{ __('Gross Pay (TZS)') }} | @forelse($allAllowances as $allowanceName){{ $allowanceName }} | @empty{{ __('Allowances') }} | @endforelse{{ __('NSSF Employee (10%)') }} | {{ __('NSSF Employer (10%)') }} | @foreach($allDeductions as $deductionName) @if(strtoupper($deductionName) !== 'NSSF'){{ $deductionName }} | @endif @endforeach{{ __('PAYE') }} | {{ __('Net Pay') }} | {{ __('Actions') }} | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($item->employee->first_name, 0, 1) . substr($item->employee->last_name, 0, 1)) }}
{{ $item->employee->first_name }} {{ $item->employee->last_name }}
{{ $item->employee->position ?? 'N/A' }}
|
${{ number_format($basicPayUSD, 2) }} | {{ number_format($grossTZS, 2) }} | @forelse($allAllowances as $allowanceName){{ isset($empAllowances[$allowanceName]) ? number_format($empAllowances[$allowanceName], 2) : '-' }} | @empty- | @endforelse{{ $item->nssf_employee > 0 ? number_format($item->nssf_employee, 2) : '-' }} | {{ $item->nssf_employer > 0 ? number_format($item->nssf_employer, 2) : '-' }} | @foreach($allDeductions as $deductionName) @if(strtoupper($deductionName) !== 'NSSF'){{ isset($empDeductions[$deductionName]) ? number_format($empDeductions[$deductionName], 2) : '-' }} | @endif @endforeach{{ $paye > 0 ? number_format($paye, 2) : '-' }} | {{ number_format($item->net, 2) }} | ||||||||||
|
{{ __('No employees in this payroll summary') }} |
|||||||||||||||||||