hrms
hrms copied to clipboard
Fetch "Present Days" in Salary slip doctype, so that it can be used in Salary component formula
Is your feature request related to a problem? Please describe.
"Present days" are required for calculation of some salary components such as food allowances, transport Allowances which are paid against actual days present and not for eg. WFH, or Leave days. This value is available in the attendance report, but since it is not fetched in the Salary slip doctype, the same cannot be used in the calculation in Salary Component.
Describe the solution you'd like
Fetch Present days in Salary slip such that "total_present_days" can be used as a field in formulas In salary slip.
Describe the alternatives you've considered
No response
Additional context
No response
@ruchamahabal , please let us know if this is possible
Resolved through custom code.