fix: Removed designation filter
diff --git a/erpnext/payroll/report/income_tax_computation/income_tax_computation.py b/erpnext/payroll/report/income_tax_computation/income_tax_computation.py
index 534eabe..e518a45 100644
--- a/erpnext/payroll/report/income_tax_computation/income_tax_computation.py
+++ b/erpnext/payroll/report/income_tax_computation/income_tax_computation.py
@@ -71,15 +71,10 @@
filters = {
"name": self.filters.employee
}
- else:
- if self.filters.department:
- filters.update({
- "department": self.filters.department
- })
- if self.filters.designation:
- filters.update({
- "designation": self.filters.designation
- })
+ elif self.filters.department:
+ filters.update({
+ "department": self.filters.department
+ })
return filters, or_filters