{{ $salary->project?->project_name ?? $salary->client?->company_name}}


@if(isset($salaries)) @foreach ($salaries as $salary_detail)
Month {{ date('m', strtotime($salary->from_date)) }} Year {{ date('Y', strtotime($salary->from_date)) }}
Employee Name {{ $salary_detail->staff->staff_name }} Emp.ID {{ $salary_detail->staff->staff_id }}
Designation {{ $salary_detail->staff->job_destination_master->name ?? '-'}} Department -
Pay Date

EARNINGS DEDUCTIONS
Description Amount Description Amount
Basic Salary EPF {{ $salary_detail->employee_epf }}
DA ESI {{ $salary_detail->employee_esi }}
HRA LOP
Conveyance PT
Incentive Adv. Deductions
Medical Allowances Other Deductions
Other Allowances
Gross Earnings {{ $salary_detail->gross_salary }} Total Deductions
Net Pay {{ $salary_detail->net_pay }}
In Words: {{ App\Helpers\Helper::numberToWords($salary_detail->net_pay) }}
@if (!$loop->last)

@endif @endforeach @endif