Earnings
Basic Salary
{{ number_format($payroll->basic_salary, 2) }}
@if($payroll->hra_allowance > 0)
HRA Allowance
{{ number_format($payroll->hra_allowance, 2) }}
@endif
@if($payroll->transport_allowance > 0)
Transport Allowance
{{ number_format($payroll->transport_allowance, 2) }}
@endif
@if($payroll->meal_allowance > 0)
Meal Allowance
{{ number_format($payroll->meal_allowance, 2) }}
@endif
@if($payroll->mobile_allowance > 0)
Mobile Allowance
{{ number_format($payroll->mobile_allowance, 2) }}
@endif
@if($payroll->other_allowance > 0)
Other Allowance
{{ number_format($payroll->other_allowance, 2) }}
@endif
@if($payroll->commission_amount > 0)
Commission
{{ number_format($payroll->commission_amount, 2) }}
@endif
@if($payroll->overtime_amount > 0)
Overtime
{{ number_format($payroll->overtime_amount, 2) }}
@endif
@if($payroll->bonus_amount > 0)
Bonus
{{ number_format($payroll->bonus_amount, 2) }}
@endif
Total Earnings
{{ number_format($payroll->gross_salary, 2) }}
Deductions
@if($payroll->epf_deduction > 0)
EPF Deduction
{{ number_format($payroll->epf_deduction, 2) }}
@endif
@if($payroll->etf_deduction > 0)
ETF Deduction
{{ number_format($payroll->etf_deduction, 2) }}
@endif
@if($payroll->tax_deduction > 0)
Tax Deduction
{{ number_format($payroll->tax_deduction, 2) }}
@endif
@if($payroll->advance_deduction > 0)
Advance Deduction
{{ number_format($payroll->advance_deduction, 2) }}
@endif
@if($payroll->loan_deduction > 0)
Loan Deduction
{{ number_format($payroll->loan_deduction, 2) }}
@endif
@if($payroll->fine_deduction > 0)
Fine Deduction
{{ number_format($payroll->fine_deduction, 2) }}
@endif
@if($payroll->other_deduction > 0)
Other Deduction
{{ number_format($payroll->other_deduction, 2) }}
@endif
Total Deductions
{{ number_format($payroll->total_deductions, 2) }}