mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
fix: get enabled and submitted income tax slab
Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
@@ -381,7 +381,7 @@ class IncomeTaxComputationReport(object):
|
|||||||
standard_exemptions_per_slab = dict(
|
standard_exemptions_per_slab = dict(
|
||||||
frappe.get_all(
|
frappe.get_all(
|
||||||
"Income Tax Slab",
|
"Income Tax Slab",
|
||||||
filters={"company": self.filters.company},
|
filters={"company": self.filters.company, "docstatus": 1, "disabled": 0},
|
||||||
fields=["name", "standard_tax_exemption_amount"],
|
fields=["name", "standard_tax_exemption_amount"],
|
||||||
as_list=1,
|
as_list=1,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user