Write an algorithm to calculate the final payroll of an employee considering all
facts like he/she will take paid unpaid leaves etc.
Answers
Answered by
3
Answer:
Leave Calculation In Salary Slip
There are two types of leave which user can apply for.
Paid Leave (Sick Leave, Privilege Leave, Casual Leave etc.)
Unpaid Leave
Paid Leave are firstly allocated by HR manager. As and when Employee creates Leave Application, leaves allocated to him/her are deducted. These leaves doesn't have impact on the employee's Salary Slip.
When Employee is out of paid leave, he create Leave Application for unpaid leave. The term used for unpaid leave in ERPNext is Leave Without Pay (LWP). These leaves does have impact on the Employee's Salary Slip.
Similar questions