 # Attendance Calculation

#1

How make attendance based on total Salary?

#2

Are you stating that you want the attendance to be as per salary or the salary of an employee should be based on the attendance? Ie. the attendance should be verified at the time of payroll?

#3

No we have a formula to calculate it. Ie (Total salary / As per the month days )*1.5(per day leave factor)
so should we use this formula in erpnext?

#4

Hi,

What is this formula used for?

If you mark attendance in ERPNext and generate payroll, salary will be calculated as per the attendance marked.

Regards,
Reema

#5

in which formula base it is calculating?

#6

You have to first assign a salary structure for a period (usually a month). Based on the attendance and leave without pay, the salary gets calculated. For example, if the monthly salary of an employee is 30,000 then salary per day is 30000/30 = 1000. If the employee has worked only for 27 days (based on his attendance), then the salary for that month will 27,000 (if the leaves taken were of type “Leave without pay”).

Also, why would you want to calculate attendance from salary? Because, usually, it is the other way round.