Update employee_list.js

This commit is contained in:
Abdulla P I 2016-08-18 12:43:19 +05:30 committed by GitHub
parent b969c2cb60
commit 23a6d05622

View File

@ -1,5 +1,5 @@
frappe.listview_settings['Employee'] = {
add_fields: ["status", "branch", "department", "designation"],
add_fields: ["status", "branch", "department", "designation","image"],
filters: [["status","=", "Active"]],
get_indicator: function(doc) {
var indicator = [__(doc.status), frappe.utils.guess_colour(doc.status), "status,=," + doc.status];