mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
revert: remove default Payment Request indicator color
This commit is contained in:
@@ -11,6 +11,8 @@ const INDICATORS = {
|
|||||||
frappe.listview_settings["Payment Request"] = {
|
frappe.listview_settings["Payment Request"] = {
|
||||||
add_fields: ["status"],
|
add_fields: ["status"],
|
||||||
get_indicator: function (doc) {
|
get_indicator: function (doc) {
|
||||||
return [__(doc.status), INDICATORS[doc.status] || "gray", `status,=,${doc.status}`];
|
if (!doc.status || !INDICATORS[doc.status]) return;
|
||||||
|
|
||||||
|
return [__(doc.status), INDICATORS[doc.status], `status,=,${doc.status}`];
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user