Company Logo

{{ $payrollData['payslipData']->company_name }}

{{ $payrollData['payslipData']->company_address }} | Email: {{ $payrollData['payslipData']->company_email }} | Phone: {{ $payrollData['payslipData']->company_phone }}

@if($payrollData['payslipData']->salary_cycle == 'monthly') Payslip for the Month of {{ \App\Helpers\AppHelper::getMonthYear($payrollData['payslipData']->salary_from) }} @else Payslip from {{ \App\Helpers\AttendanceHelper::payslipDate($payrollData['payslipData']->salary_from) }} to {{ \App\Helpers\AttendanceHelper::payslipDate($payrollData['payslipData']->salary_to) }} @endif

Employee ID:{{ $payrollData['payslipData']->employee_code }} Name:{{ $payrollData['payslipData']->employee_name }}
Salary Slip:XYZ-001 Department:{{ $payrollData['payslipData']->department }}
Designation:{{ $payrollData['payslipData']->designation }} Joining Date:{{ $payrollData['payslipData']->joining_date }}
Total Days {{ $payrollData['payslipData']->total_days }} Present {{ $payrollData['payslipData']->present_days }} Absent {{ $payrollData['payslipData']->absent_days }} Leave {{ $payrollData['payslipData']->leave_days }} Holidays {{ $payrollData['payslipData']->holidays }} Weekend {{ $payrollData['payslipData']->weekends }}
@php $totalEarning = 0; @endphp @forelse( $payrollData['earnings'] as $earning) @php $totalEarning+=$earning['amount']; @endphp @empty @endforelse
Earnings Amount
Basic Salary {{ ($payrollData['payslipData']->salary_cycle == 'weekly') ? $payrollData['payslipData']->weekly_basic_salary :$payrollData['payslipData']->monthly_basic_salary }}
{{ $earning['name'] }} {{ $earning['amount'] }}
Fixed Allowance {{ ($payrollData['payslipData']->salary_cycle == 'weekly') ? $payrollData['payslipData']->weekly_fixed_allowance : $payrollData['payslipData']->monthly_fixed_allowance }}
Gross Earnings {{ $payrollData['payslipData']->gross_salary }}
@php $totalDeduction = $payrollData['payslipData']->tds; @endphp @forelse( $payrollData['deductions'] as $deduction) @php $totalDeduction+=$deduction['amount']; @endphp @empty @endforelse
Deductions Amount
{{ $deduction['name'] }} {{ $deduction['amount'] }}
TDS {{ $payrollData['payslipData']->tds }}
Total Deductions {{ $totalDeduction }}
@if($payrollData['payslipData']->include_advance_salary ==1) @endif @if($payrollData['payslipData']->include_tada ==1) @endif @if(isset($payrollData['payslipData']->ot_status) && $payrollData['payslipData']->ot_status == 1) @endif @if(isset($underTimeSetting) && $underTimeSetting->is_active == 1) @endif
Actual Salary (Total Earning - Total Deductions) {{ $currency.' '. $payrollData['payslipData']->gross_salary - $totalDeduction }}
Advance Salary (-) {{ $payrollData['payslipData']->advance_salary ?? 0 }}
TADA (+) {{ $payrollData['payslipData']->tada ?? 0 }}
Absent Deduction ((grossSalary/ total days) * absent days) {{-- @php--}} {{-- $deductionFee = ($payrollData['payslipData']->gross_salary / $payrollData['payslipData']->total_days) * $payrollData['payslipData']->absent_days;--}} {{-- @endphp--}} {{ $payrollData['payslipData']->absent_deduction ?? 0 }}
OverTime Income {{ $payrollData['payslipData']->overtime }}
UnderTime Deduction {{ $payrollData['payslipData']->undertime }}

Net Salary: {{ $currency.' '. $payrollData['payslipData']->net_salary }}

({{ $numberToWords->get($payrollData['payslipData']->net_salary) }})

Net Salary = (Actual Salary - Advance Salary + TADA)