frappe / hrms

Open Source HR and Payroll Software
https://frappe.io/hr
GNU General Public License v3.0
1.44k stars 741 forks source link

CREATED LEAVE ENCASHMENT - NOT PAID IN SALARY SLIP #2226

Open bhavyajicomputers opened 2 months ago

bhavyajicomputers commented 2 months ago

Information about bug

Created leave encashment - on 25th july 24 approved by manager - 14th August 24

Not refelecting in August 24 salary slip created on 2nd Sept 24 another leave encashment - on 10thAugust 24 Approved on 14th August 24 Refelecting in August 24 salary slip created on 2nd Sept 24

System is not considering previous month Leave Encashment approved

Kindly do needful

Module

HR

Version

ERPNext: v14.74.1 (HEAD)

Frappe Framework: v14.81.4 (HEAD)

Frappe HR: v14.31.0 (HEAD)

India Compliance: v14.30.5 (HEAD)

Komori: v0.0.1 (HEAD)

Installation method

None

Relevant log output / Stack trace / Full Error Message.

Created leave encashment - on 25th july 24
approved by manager - 14th August 24

Not refelecting in August 24 salary slip created on 2nd Sept 24
another  leave encashment - on 10thAugust  24
Approved on 14th August 24
Refelecting in August 24 salary slip created on 2nd Sept 24

System is not considering previous month Leave Encashment

Kindly do needful
iamejaaz commented 1 month ago

image I depend on the Encashment Date in the Leave Encashment Doctype because it creates an Additional Salary for Leave Encashment and selects the Additional Salary's Payroll Date as the Leave Encashment Encashment Date.

and

If the payroll date for the additional salary falls between the salary slip start and end date, it will be included in the current salary. Therefore, to include last month's leave encashment, select the next month's date, and it will be reflected in the salary slip.

https://docs.frappe.io/hr/leave-encashment

image