| Basic Salary |
{{ number_format($r['basic'] ?? 0, 2) }} |
PF |
{{ number_format($r['pf'] ?? 0, 2) }} |
| DA |
{{ number_format($r['da'] ?? 0, 2) }} |
ESI |
{{ number_format($r['esi'] ?? 0, 2) }} |
| HRA |
{{ number_format($r['hra'] ?? 0, 2) }} |
Professional Tax |
{{ number_format($r['pt'] ?? 0, 2) }} |
| Other Allowances |
{{ number_format($r['other_allowances'] ?? 0, 2) }} |
Other Deductions |
{{ number_format($r['other_deduction'] ?? 0, 2) }} |
| GROSS SALARY |
{{ number_format($r['gross'] ?? 0, 2) }} |
TOTAL DEDUCTIONS |
{{ number_format(($r['pf'] ?? 0) + ($r['esi'] ?? 0) + ($r['pt'] ?? 0) + ($r['other_deduction'] ?? 0), 2) }}
|
| NET SALARY |
@php
$pf = (float) ($r['pf'] ?? 0);
$esi = (float) ($r['esi'] ?? 0);
$pt = (float) ($r['pt'] ?? 0);
$advance = 0;
$loan = 0;
$others = (float) ($r['other_deduction'] ?? 0);
$gross = (float) ($r['gross'] ?? 0);
$totalDed = $pf + $esi + $pt + $advance + $loan + $others;
$net = $gross - $totalDed;
@endphp
{{ number_format($net ?? 0, 2) }} |