mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
fix - assigned Salary Structure query (#14965)
This commit is contained in:
committed by
Nabin Hait
parent
83dfc0a2b1
commit
68abe25371
@@ -38,7 +38,7 @@ def get_assigned_salary_structure(employee, on_date):
|
||||
select salary_structure from `tabSalary Structure Assignment`
|
||||
where employee=%(employee)s
|
||||
and docstatus = 1
|
||||
and %(on_date)s > from_date order by from_date desc limit 1""", {
|
||||
and %(on_date)s >= from_date order by from_date desc limit 1""", {
|
||||
'employee': employee,
|
||||
'on_date': on_date,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user