commit | 7672166ce3ef9de1ddf13bf926ff8ebce2c65a11 | [log] [tgz] |
---|---|---|
author | Anurag Mishra <32095923+Anurag810@users.noreply.github.com> | Mon Jun 22 17:22:05 2020 +0530 |
committer | GitHub <noreply@github.com> | Mon Jun 22 17:22:05 2020 +0530 |
tree | 7c0d362f2e7ab5dbafb851f84e1401aa765702a7 | |
parent | 0093b3b27cad0799a358aed1a756cebb5b1efc08 [diff] |
fix: Wrong filter (#22375)
diff --git a/erpnext/payroll/report/salary_payments_via_ecs/salary_payments_via_ecs.py b/erpnext/payroll/report/salary_payments_via_ecs/salary_payments_via_ecs.py index afd5c13..073bd91 100644 --- a/erpnext/payroll/report/salary_payments_via_ecs/salary_payments_via_ecs.py +++ b/erpnext/payroll/report/salary_payments_via_ecs/salary_payments_via_ecs.py
@@ -86,6 +86,7 @@ if filters.get("period"): conditions.append("month(start_date) = '%s' " % (filters["period"])) + conditions.append("year(start_date) = '%s' " % (frappe.utils.getdate().year)) return " and ".join(conditions)