mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
style: fix formatting
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
frappe.listview_settings['Contract'] = {
|
||||
add_fields: ["status"],
|
||||
get_indicator: function (doc) {
|
||||
if (doc.status == "Unsigned") {
|
||||
return [__(doc.status), "red", "status,=," + doc.status];
|
||||
} else if (doc.status == "Active") {
|
||||
return [__(doc.status), "green", "status,=," + doc.status];
|
||||
} else if (doc.status == "Inactive") {
|
||||
return [__(doc.status), "gray", "status,=," + doc.status];
|
||||
}
|
||||
},
|
||||
add_fields: ["status"],
|
||||
get_indicator: function (doc) {
|
||||
if (doc.status == "Unsigned") {
|
||||
return [__(doc.status), "red", "status,=," + doc.status];
|
||||
} else if (doc.status == "Active") {
|
||||
return [__(doc.status), "green", "status,=," + doc.status];
|
||||
} else if (doc.status == "Inactive") {
|
||||
return [__(doc.status), "gray", "status,=," + doc.status];
|
||||
}
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user