mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-01 09:36:53 +00:00
fix(ux): serial and batch bundle status
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.listview_settings["Serial and Batch Bundle"] = {
|
||||
add_fields: ["is_cancelled"],
|
||||
get_indicator: function (doc) {
|
||||
if (doc.is_cancelled) {
|
||||
return [__("Cancelled"), "red", "is_cancelled,=,1"];
|
||||
}
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user