Merge pull request #3583 from rmehta/quotation-list-fix

[fix] quotation list #3492
This commit is contained in:
Nabin Hait 2015-07-06 14:31:23 +05:30
commit 73b7efd61d

View File

@ -2,7 +2,9 @@ frappe.listview_settings['Quotation'] = {
add_fields: ["customer_name", "base_grand_total", "status",
"company", "currency"],
get_indicator: function(doc) {
if(doc.status==="Ordered") {
if(doc.status==="Submitted") {
return [__("Submitted"), "blue", "status,=,Submitted"];
} else if(doc.status==="Ordered") {
return [__("Ordered"), "green", "status,=,Ordered"];
} else if(doc.status==="Lost") {
return [__("Lost"), "darkgrey", "status,=,Lost"];