Merge pull request #6114 from hereabdulla/patch-1

Update employee_list.js
This commit is contained in:
Rushabh Mehta 2016-08-18 14:05:58 +05:30 committed by GitHub
commit 03e5ea3a0d

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];