hrms icon indicating copy to clipboard operation
hrms copied to clipboard

Fetch "Present Days" in Salary slip doctype, so that it can be used in Salary component formula

Open goapaints opened this issue 2 years ago • 1 comments

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

goapaints avatar Nov 30 '23 15:11 goapaints

@ruchamahabal , please let us know if this is possible

goapaints avatar Dec 11 '23 03:12 goapaints

Resolved through custom code.

goapaints avatar Jul 12 '24 11:07 goapaints