Merge pull request #44513 from ljain112/draft-status-color

fix: correct color for draft in list view
This commit is contained in:
ruthra kumar
2024-12-09 13:33:48 +05:30
committed by GitHub
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",