fix: correct color for draft in list view

(cherry picked from commit 143acf2330)
This commit is contained in:
ljain112
2024-12-04 20:40:08 +05:30
committed by Mergify
parent c6c5587cc6
commit cce1cc6674
5 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
const INDICATORS = {
"Partially Paid": "orange",
Cancelled: "red",
Draft: "gray",
Draft: "red",
Failed: "red",
Initiated: "green",
Paid: "blue",

View File

@@ -15,7 +15,7 @@ frappe.listview_settings["Sales Invoice"] = {
],
get_indicator: function (doc) {
const status_colors = {
Draft: "grey",
Draft: "red",
Unpaid: "orange",
Paid: "green",
Return: "gray",

View File

@@ -4,7 +4,7 @@
frappe.listview_settings["Pick List"] = {
get_indicator: function (doc) {
const status_colors = {
Draft: "grey",
Draft: "red",
Open: "orange",
Completed: "green",
Cancelled: "red",

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",