Skip to content

Commit

Permalink
fix: correct color for draft in list view
Browse files Browse the repository at this point in the history
(cherry picked from commit 143acf2)
  • Loading branch information
ljain112 authored and mergify[bot] committed Dec 9, 2024
1 parent c6c5587 commit cce1cc6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const INDICATORS = {
"Partially Paid": "orange",
Cancelled: "red",
Draft: "gray",
Draft: "red",
Failed: "red",
Initiated: "green",
Paid: "blue",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/pick_list/pick_list_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cce1cc6

Please sign in to comment.