mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
fix: Show message is no employee found
This commit is contained in:
@@ -67,6 +67,9 @@ class IncomeTaxComputationReport(object):
|
|||||||
d.update(ss_assignments[d.employee])
|
d.update(ss_assignments[d.employee])
|
||||||
self.employees.setdefault(d.employee, d)
|
self.employees.setdefault(d.employee, d)
|
||||||
|
|
||||||
|
if not self.employees:
|
||||||
|
frappe.throw(_("No employees found with selected filters and active salary structure"))
|
||||||
|
|
||||||
def get_employee_filters(self):
|
def get_employee_filters(self):
|
||||||
filters = {"company": self.filters.company}
|
filters = {"company": self.filters.company}
|
||||||
or_filters = {
|
or_filters = {
|
||||||
|
|||||||
Reference in New Issue
Block a user