Merge pull request #15794 from ashish-greycube/patch-1
Update employee_advance.py
This commit is contained in:
commit
81cdd967d7
@ -69,7 +69,7 @@ class EmployeeAdvance(Document):
|
||||
where employee_advance = %s and docstatus=1 and allocated_amount > 0
|
||||
""", self.name)[0][0]
|
||||
|
||||
frappe.db.set_value("Employee Advance", self.name, "claimed_amount", claimed_amount)
|
||||
frappe.db.set_value("Employee Advance", self.name, "claimed_amount", flt(claimed_amount))
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_due_advance_amount(employee, posting_date):
|
||||
|
Loading…
x
Reference in New Issue
Block a user