@if (isset($isPdfMode) && $isPdfMode) {{ strtoupper($form ?? 'Wage Slip') }} - {{ $report['establishment_name'] ?? '' }} @include('reports.common.export-styles') @endif
@foreach ($rows ?? [] as $index => $r) @if ($index > 0)
@endif

WAGE SLIP

(For the Month of {{ $report['month'] ?? '' }} {{ $report['year'] ?? '' }})
Name and full address of the Establishment: {{ $report['establishment_name'] ?? '' }}
{{ $report['address'] ?? '' }}
Name of the Employer/ Contractor / Managing Director: {{ $report['employer_name'] ?? '' }}
Managing Partner or Authorized Person with full Residential address: {{ $report['address'] ?? '' }}
Employee Name: {{ $r['name'] ?? '' }} Employee Code: {{ $r['emp_code'] ?? '' }}
Designation: {{ $r['designation'] ?? '' }} Days Worked: {{ $r['days_worked'] ?? 0 }}
@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
EARNINGS DEDUCTIONS
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{{ number_format($net ?? 0, 2) }}
Date: {{ $report['date'] ?? '' }}
Employee Signature
@endforeach
@if (isset($isPdfMode) && $isPdfMode) @endif