fix(ExpenseClaim): List filter config for Rejected and Unpaid (#19434)
This commit is contained in:
parent
d0003408c4
commit
e127d937f7
@ -2,11 +2,11 @@ frappe.listview_settings['Expense Claim'] = {
|
||||
add_fields: ["total_claimed_amount", "docstatus"],
|
||||
get_indicator: function(doc) {
|
||||
if(doc.status == "Paid") {
|
||||
return [__("Paid"), "green", "status,=,'Paid'"];
|
||||
return [__("Paid"), "green", "status,=,Paid"];
|
||||
}else if(doc.status == "Unpaid") {
|
||||
return [__("Unpaid"), "orange"];
|
||||
return [__("Unpaid"), "orange", "status,=,Unpaid"];
|
||||
} else if(doc.status == "Rejected") {
|
||||
return [__("Rejected"), "grey"];
|
||||
return [__("Rejected"), "grey", "status,=,Rejected"];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user