mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
fix: show status in job card list view in Draft mode
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
frappe.listview_settings['Job Card'] = {
|
frappe.listview_settings['Job Card'] = {
|
||||||
|
has_indicator_for_draft: true,
|
||||||
get_indicator: function(doc) {
|
get_indicator: function(doc) {
|
||||||
if (doc.status === "Work In Progress") {
|
if (doc.status === "Work In Progress") {
|
||||||
return [__("Work In Progress"), "orange", "status,=,Work In Progress"];
|
return [__("Work In Progress"), "orange", "status,=,Work In Progress"];
|
||||||
|
|||||||
Reference in New Issue
Block a user