[minor] process_payroll_create salary fixed, fixes frappe/erpnext#8853 (#8881)
* [minor] process_payroll_create salary fixed * [minor] indentation fix
This commit is contained in:
parent
cf7df5d106
commit
c55b805b66
@ -112,7 +112,7 @@ class ProcessPayroll(Document):
|
|||||||
|
|
||||||
|
|
||||||
def create_log(self, ss_list):
|
def create_log(self, ss_list):
|
||||||
if not ss_list:
|
if not ss_list or len(ss_list) < 1:
|
||||||
log = "<p>" + _("No employee for the above selected criteria OR salary slip already created") + "</p>"
|
log = "<p>" + _("No employee for the above selected criteria OR salary slip already created") + "</p>"
|
||||||
else:
|
else:
|
||||||
log = frappe.render_template("templates/includes/salary_slip_log.html",
|
log = frappe.render_template("templates/includes/salary_slip_log.html",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user