@extends('app-new') @push('head-script') @endpush @push('content-header')
@endpush @section('content')| Serial No | ESIC No. | UAN No. | PF No. | Emp Code | Name of Worker | Gender | DOB | DOJ | Department | Workstation | Activity | Education | Category | Worked Days | PH | Arrears Days | Total Paid Days | Actual OT hrs | Arrears OT hrs | Total OT | @foreach ($earningDerivedComponents as $component){{ $component->name ?? '-' }} | @endforeachTotal Earnings | @foreach ($deductionDerivedComponents as $component){{ $component->name ?? '-' }} | @endforeachTotal Deductions | Net Payable |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $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 ?? '-' }} | {{ $employee->category->name ?? '-' }} | {{ $present }} | {{ $ph }} | {{ $arrearDays ?? '-' }} | {{ round($totalPaidDay, 2) }} | {{ $attendanceData['actualOT'] ?? '-' }} | {{ $attendanceData['arrearsOT'] ?? '-' }} | {{ $attendanceData['totalOT'] ?? '-' }} | @foreach ($earningDerivedComponents as $component) @php $earning = round($slipLogs[$component->id] ?? 0, 2); $earningDerivedTotal += $earning; @endphp{{ $earning }} | @endforeach{{ round($earningDerivedTotal, 2) }} | @foreach ($deductionDerivedComponents as $component) @php $deduction = round($slipLogs[$component->id] ?? 0, 2); $deductionDerivedTotal += $deduction; @endphp{{ $deduction }} | @endforeach{{ round($deductionDerivedTotal, 2) }} | @php $netPayable = $earningDerivedTotal - $deductionDerivedTotal; @endphp{{ round($netPayable, 2) }} |