column status for Bulk Mail list
This commit is contained in:
parent
d98a90db58
commit
ac4a2f300d
1 changed files with 6 additions and 0 deletions
6
frappe/email/doctype/bulk_email/bulk_email_list.js
Normal file
6
frappe/email/doctype/bulk_email/bulk_email_list.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
frappe.listview_settings['Bulk Email'] = {
|
||||
get_indicator: function(doc) {
|
||||
colour = {'Sent': 'green', 'Sending': 'blue', 'Not Sent': 'grey', 'Error': 'red', 'Expired': 'orange'};
|
||||
return [__(doc.status), colour[doc.status], "status,=," + doc.status];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue