fixes in payment reconciliation
This commit is contained in:
parent
8e4a772a35
commit
3ac8e59cb8
@ -30,23 +30,6 @@ cur_frm.cscript.refresh = function(doc) {
|
||||
}
|
||||
}
|
||||
|
||||
// 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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user