mirror of
https://github.com/frappe/frappe.git
synced 2024-06-12 16:12:22 +00:00
12 lines
278 B
JavaScript
12 lines
278 B
JavaScript
frappe.listview_settings["Auto Repeat"] = {
|
|
add_fields: ["next_schedule_date"],
|
|
get_indicator: function (doc) {
|
|
var colors = {
|
|
Active: "green",
|
|
Disabled: "red",
|
|
Completed: "blue",
|
|
};
|
|
return [__(doc.status), colors[doc.status], "status,=," + doc.status];
|
|
},
|
|
};
|