fix: calculate earned leaves based on annual allocation

This commit is contained in:
Mangesh-Khairnar
2019-08-09 13:18:52 +05:30
parent 3662ed50d2
commit 261d132f3a
2 changed files with 5 additions and 5 deletions

View File

@@ -83,4 +83,4 @@ def get_leaves_application_records():
def get_leave_encashment_records():
return frappe.get_all("Leave Encashment", filters={
"docstatus": 1
}, fields=['name', 'employee', 'leave_type', 'encashable_days', 'encashment_date'])
}, fields=['name', 'employee', 'leave_type', 'encashable_days', 'encashment_date'])