Tell me exactly ,i mean you want the calculation of salary ,if the salary of the employee is 10000 then,divide it with the no. of days in the month ,that ill be his/her per day salaryand then just see the attendance and then multiply per day salary with the no. of days of employee attendance.