Salary Receipts - {{ \Carbon\Carbon::parse($month)->format('F Y') }}
@foreach($salaries->chunk(2) as $chunk)
@foreach($chunk as $salary)

Employee: {{ $salary->worker->name ?? 'N/A' }}

Salary Month: {{ \Carbon\Carbon::parse($salary->salary_month)->format('F Y') }}

Generated On: {{ $salary->created_at->format('d M Y') }}

Earnings Deductions
Basic Salary {{ number_format($salary->basic_salary, 2) }} Provident Fund {{ number_format($salary->provident_fund, 2) }}
Extras {{ number_format($salary->extras, 2) }} ESI {{ number_format($salary->esi, 2) }}
HRA {{ number_format($salary->hra, 2) }}
Mess Fee {{ number_format($salary->mess_fee, 2) }}
Labour Tax {{ number_format($salary->labour_tax, 2) }}
Welfare Fund {{ number_format($salary->labour_welfare_fund, 2) }}
Leave Deduction {{ number_format($salary->leave_amount, 2) }}
Gross Salary {{ number_format($salary->gross_salary, 2) }}
Total Deductions {{ number_format($salary->total_deduction, 2) }}
Net Salary Paid {{ number_format($salary->net_salary, 2) }}
@endforeach
@endforeach