fix: correct color for draft in list view
(cherry picked from commit 143acf2330)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const INDICATORS = {
|
||||
"Partially Paid": "orange",
|
||||
Cancelled: "red",
|
||||
Draft: "gray",
|
||||
Draft: "red",
|
||||
Failed: "red",
|
||||
Initiated: "green",
|
||||
Paid: "blue",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user