fix: correct color for draft in list view

This commit is contained in:
ljain112
2024-12-04 20:40:08 +05:30
parent 029dc948fe
commit 143acf2330
5 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
frappe.listview_settings["Subcontracting Order"] = {
get_indicator: function (doc) {
const status_colors = {
Draft: "grey",
Draft: "red",
Open: "orange",
"Partially Received": "yellow",
Completed: "green",

View File

@@ -4,7 +4,7 @@
frappe.listview_settings["Subcontracting Receipt"] = {
get_indicator: function (doc) {
const status_colors = {
Draft: "grey",
Draft: "red",
Return: "gray",
"Return Issued": "grey",
Completed: "green",