| {{ $index + 1 }} |
{{ $employee->esic_no ?? '-' }} |
{{ $employee->uan_no ?? '-' }} |
{{ $employee->pf_no ?? '-' }} |
{{ $employee->employee_code ?? '-' }} |
{{ ucfirst($employee->name) ?? '-' }} |
{{ ucfirst($employee->gender) ?? '-' }} |
{{ $employee->dob ? date('d-m-Y', strtotime($employee->dob)) : '-' }}
|
{{ $employee->date_of_joining ? date('d-m-Y', strtotime($employee->date_of_joining)) : '-' }}
|
{{ isset($employee->department->name) ? ucfirst($employee->department->name) : '-' }}
|
{{ isset($employee->workstation->name) ? ucfirst($employee->workstation->name) : '-' }}
|
{{ isset($employee->designation->name) ? ucfirst($employee->designation->name) : '-' }}
|
{{ $employee->education ?? '-' }} |
{{ isset($employee->category->name) ? ucfirst($employee->category->name) : '-' }}
|
{{ $present }} |
{{ $ph }} |
{{ $arrearDays ?? 0 }} |
{{ round($totalPaidDay, 2) }} |
{{ $attendanceData['actualOT'] ?? 0 }} |
{{ $attendanceData['arrearsOT'] ?? 0 }} |
{{ $attendanceData['totalOT'] ?? 0 }} |
@foreach ($earningDerivedComponents as $component)
@php
$earning = round($slipLogs[$component->id] ?? 0, 2);
$earningDerivedTotal += $earning;
$totalEarningsComponent[$component->id] += $earning;
@endphp
{{ $earning }} |
@endforeach
{{ round($earningDerivedTotal, 2) }} |
@foreach ($deductionDerivedComponents as $component)
@php
$deduction = round($slipLogs[$component->id] ?? 0, 2);
$deductionDerivedTotal += $deduction;
$totalDeductionsComponent[$component->id] += $deduction;
@endphp
{{ $deduction }} |
@endforeach
{{ round($deductionDerivedTotal, 2) }} |
@php
$netPayable = $earningDerivedTotal - $deductionDerivedTotal;
$totalWorkedDays += $present;
$totalPH += $ph;
$totalPaidDays += $totalPaidDay;
$totalActualOT += $attendanceData['actualOT'] ?? 0;
$totalArrearsOT += $attendanceData['arrearsOT'] ?? 0;
$totalOT += $attendanceData['totalOT'] ?? 0;
$totalEarnings += $earningDerivedTotal;
$totalDeductions += $deductionDerivedTotal;
$totalNetPayable += $netPayable;
@endphp
{{ round($netPayable, 2) }} |
@endforeach