commit | 16c06dc713b00bdf58b981f3cfb9c9b059922b21 | [log] [tgz] |
---|---|---|
author | Akhilesh Darjee <akhileshdarjee@gmail.com> | Thu Jun 27 11:02:22 2013 +0530 |
committer | Akhilesh Darjee <akhileshdarjee@gmail.com> | Thu Jun 27 11:02:22 2013 +0530 |
tree | 6515039d623fa2e5ff9a9d2411259aabea11b902 | |
parent | f47617c6e606e10eaa78b1168819c60f93a1d2bd [diff] | |
parent | 4924a9f7648cb3515fdbe282a77926527a715e9b [diff] |
Merge branch 'master' of https://github.com/webnotes/erpnext
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 8b35bc1..ac7d9d2 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
@@ -50,6 +50,7 @@ where against_voucher_type = '%(dt)s' \ and against_voucher = gle.voucher_no \ and voucher_no != gle.voucher_no \ + and account = gle.account \ and ifnull(is_cancelled, 'No') = 'No') != \ abs(ifnull(gle.debit, 0) - ifnull(gle.credit, 0)) \ ORDER BY gle.posting_date DESC, gle.voucher_no DESC LIMIT 50",