fix: show status in job card list view in Draft mode

This commit is contained in:
Anoop Kurungadam
2022-03-13 14:45:19 +05:30
parent 1dbb654500
commit fa32fc3c83

View File

@@ -1,4 +1,5 @@
frappe.listview_settings['Job Card'] = {
has_indicator_for_draft: true,
get_indicator: function(doc) {
if (doc.status === "Work In Progress") {
return [__("Work In Progress"), "orange", "status,=,Work In Progress"];