fix: get enabled earning components
Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
parent
e46898f5f5
commit
67086e618d
@ -250,7 +250,7 @@ class IncomeTaxComputationReport(object):
|
|||||||
def get_tax_exempted_components(self):
|
def get_tax_exempted_components(self):
|
||||||
# nontaxable earning components
|
# nontaxable earning components
|
||||||
nontaxable_earning_components = [
|
nontaxable_earning_components = [
|
||||||
d.name for d in frappe.get_all("Salary Component", {"type": "Earning", "is_tax_applicable": 0})
|
d.name for d in frappe.get_all("Salary Component", {"type": "Earning", "is_tax_applicable": 0, "disabled": 0})
|
||||||
]
|
]
|
||||||
|
|
||||||
# tax exempted deduction components
|
# tax exempted deduction components
|
||||||
|
Loading…
Reference in New Issue
Block a user