I need to use total absence days in the salary slip like
Leave Without Pay,
Payment Days fields
I have to create a field called
Absent Days i need a custom script to fetch total absent days Depending on
End Date fields in Salary Slip doctype like the total absence in Monthly Attendance Sheet report
After that, I can use it in Salary Component formula
any ideas here?