Skip to content

Commit

Permalink
fix: add company in list fields to fetch for Expense Claim
Browse files Browse the repository at this point in the history
  • Loading branch information
prssanna committed Aug 11, 2020
1 parent 5e438cc commit 5a7618d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/hr/doctype/expense_claim/expense_claim_list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
frappe.listview_settings['Expense Claim'] = {
add_fields: ["total_claimed_amount", "docstatus"],
add_fields: ["total_claimed_amount", "docstatus", "company"],
get_indicator: function(doc) {
if(doc.status == "Paid") {
return [__("Paid"), "green", "status,=,Paid"];
Expand Down

0 comments on commit 5a7618d

Please sign in to comment.