fixes in payment reconciliation
diff --git a/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js b/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js
index 17b42be..a12fe27 100644
--- a/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js
+++ b/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js
@@ -30,23 +30,6 @@
}
}
-// cur_frm.fields_dict.voucher_no.get_query = function(doc) {
-// if (!doc.account) msgprint("Please select Account first");
-// else {
-// return repl("select gle.voucher_no, gle.posting_date \
-// from `tabGL Entry` gle where gle.account = '%(acc)s' \
-// and gle.voucher_type = '%(dt)s' \
-// and gle.voucher_no LIKE '%s' \
-// and ifnull(gle.is_cancelled, 'No') = 'No'\
-// and (ifnull(against_voucher_type, '') = '' or \
-// (select sum(debit) - sum(credit) from `tabGL Entry` \
-// where against_voucher_type = '%(dt)s' and against_voucher = gle.voucher_no \
-// and ifnull(is_cancelled, 'No') = 'No') != 0 )\
-// ORDER BY gle.posting_date DESC, gle.voucher_no DESC LIMIT 50 \
-// ", {dt:doc.voucher_type, acc:doc.account});
-// }
-// }
-
cur_frm.fields_dict.voucher_no.get_query = function(doc) {
if (!doc.account) msgprint("Please select Account first");
else {