From dad93ce8a3c88fc07c4678fa2a0d6be04f8f2f40 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 17 May 2012 15:28:38 +0530 Subject: [PATCH] fix in payment reconciliation --- .../payment_to_invoice_matching_tool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js index 4057f7e475..93e6bffea1 100644 --- a/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js +++ b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js @@ -26,7 +26,7 @@ cur_frm.fields_dict.voucher_no.get_query = function(doc) { and voucher_type = '%(dt)s' \ and voucher_no LIKE '%s' \ ORDER BY posting_date DESC, voucher_no DESC LIMIT 50 \ - ", {dt:session.rev_dt_labels[doc.voucher_type] || doc.voucher_type, acc:doc.account}); + ", {dt:doc.voucher_type, acc:doc.account}); } }