Skip to content

Commit

Permalink
fix: add Employee ID with Employee Name in Attendance Tool (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhaledBinAmir authored Sep 5, 2022
1 parent 34612ea commit 1e7a11f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ erpnext.MarkedEmployee = class MarkedEmployee {
<label class="marked-employee-label"><span class="%(icon)s"></span>\
%(employee)s</label>\
</div>', {
employee: m.employee_name,
employee: m.employee +' : '+ m.employee_name,
icon: attendance_icon,
color_class: color_class
})).appendTo(row);
Expand Down Expand Up @@ -261,7 +261,7 @@ erpnext.EmployeeSelector = class EmployeeSelector {
<div class="checkbox">\
<label><input type="checkbox" class="employee-check" employee="%(employee)s"/>\
%(employee)s</label>\
</div></div>', {employee: m.employee_name})).appendTo(row);
</div></div>', {employee: m.employee +' : '+ m.employee_name})).appendTo(row);
});

mark_employee_toolbar.appendTo($(this.wrapper));
Expand Down

0 comments on commit 1e7a11f

Please sign in to comment.