fix: correct color for draft in list view
(cherry picked from commit 143acf2330)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
const INDICATORS = {
|
const INDICATORS = {
|
||||||
"Partially Paid": "orange",
|
"Partially Paid": "orange",
|
||||||
Cancelled: "red",
|
Cancelled: "red",
|
||||||
Draft: "gray",
|
Draft: "red",
|
||||||
Failed: "red",
|
Failed: "red",
|
||||||
Initiated: "green",
|
Initiated: "green",
|
||||||
Paid: "blue",
|
Paid: "blue",
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ frappe.listview_settings["Sales Invoice"] = {
|
|||||||
],
|
],
|
||||||
get_indicator: function (doc) {
|
get_indicator: function (doc) {
|
||||||
const status_colors = {
|
const status_colors = {
|
||||||
Draft: "grey",
|
Draft: "red",
|
||||||
Unpaid: "orange",
|
Unpaid: "orange",
|
||||||
Paid: "green",
|
Paid: "green",
|
||||||
Return: "gray",
|
Return: "gray",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
frappe.listview_settings["Pick List"] = {
|
frappe.listview_settings["Pick List"] = {
|
||||||
get_indicator: function (doc) {
|
get_indicator: function (doc) {
|
||||||
const status_colors = {
|
const status_colors = {
|
||||||
Draft: "grey",
|
Draft: "red",
|
||||||
Open: "orange",
|
Open: "orange",
|
||||||
Completed: "green",
|
Completed: "green",
|
||||||
Cancelled: "red",
|
Cancelled: "red",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
frappe.listview_settings["Subcontracting Order"] = {
|
frappe.listview_settings["Subcontracting Order"] = {
|
||||||
get_indicator: function (doc) {
|
get_indicator: function (doc) {
|
||||||
const status_colors = {
|
const status_colors = {
|
||||||
Draft: "grey",
|
Draft: "red",
|
||||||
Open: "orange",
|
Open: "orange",
|
||||||
"Partially Received": "yellow",
|
"Partially Received": "yellow",
|
||||||
Completed: "green",
|
Completed: "green",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
frappe.listview_settings["Subcontracting Receipt"] = {
|
frappe.listview_settings["Subcontracting Receipt"] = {
|
||||||
get_indicator: function (doc) {
|
get_indicator: function (doc) {
|
||||||
const status_colors = {
|
const status_colors = {
|
||||||
Draft: "grey",
|
Draft: "red",
|
||||||
Return: "gray",
|
Return: "gray",
|
||||||
"Return Issued": "grey",
|
"Return Issued": "grey",
|
||||||
Completed: "green",
|
Completed: "green",
|
||||||
|
|||||||
Reference in New Issue
Block a user