fix: get enabled and submitted income tax slab
Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
parent
67086e618d
commit
d06b7378f8
@ -381,7 +381,7 @@ class IncomeTaxComputationReport(object):
|
||||
standard_exemptions_per_slab = dict(
|
||||
frappe.get_all(
|
||||
"Income Tax Slab",
|
||||
filters={"company": self.filters.company},
|
||||
filters={"company": self.filters.company, "docstatus": 1, "disabled": 0},
|
||||
fields=["name", "standard_tax_exemption_amount"],
|
||||
as_list=1,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user