mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 02:31:21 +00:00
refactor: updated key for withholding_date
(cherry picked from commit 07b023a934)
This commit is contained in:
@@ -220,8 +220,7 @@ def get_tax_withholding_entries(filters):
|
|||||||
IfNull(twe.lower_deduction_certificate, "").as_("lower_deduction_certificate"),
|
IfNull(twe.lower_deduction_certificate, "").as_("lower_deduction_certificate"),
|
||||||
IfNull(twe.withholding_doctype, "").as_("withholding_doctype"),
|
IfNull(twe.withholding_doctype, "").as_("withholding_doctype"),
|
||||||
IfNull(twe.withholding_name, "").as_("withholding_name"),
|
IfNull(twe.withholding_name, "").as_("withholding_name"),
|
||||||
twe.withholding_date,
|
twe.withholding_date.as_("transaction_date"),
|
||||||
twe.status,
|
|
||||||
)
|
)
|
||||||
.where(twe.docstatus == 1)
|
.where(twe.docstatus == 1)
|
||||||
.where(twe.withholding_date >= filters.from_date)
|
.where(twe.withholding_date >= filters.from_date)
|
||||||
|
|||||||
Reference in New Issue
Block a user