[fix] [minor] ageing related reports fixed

This commit is contained in:
Akhilesh Darjee 2013-11-27 11:53:57 +05:30
parent dc4821de08
commit ca414a96cc
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ def execute(filters=None):
d.debit, d.credit, d.cheque_no, d.cheque_date, d.remark]
if d.against_invoice:
row += get_ageing_data(against_invoice_date, d.posting_date, d.credit or -1*d.debit)
row += get_ageing_data(d.posting_date, against_invoice_date, d.credit or -1*d.debit)
else:
row += ["", "", "", "", ""]

View File

@ -21,7 +21,7 @@ def execute(filters=None):
d.debit, d.credit, d.cheque_no, d.cheque_date, d.remark]
if d.against_voucher:
row += get_ageing_data(against_voucher_date, d.posting_date, d.debit or -1*d.credit)
row += get_ageing_data(d.posting_date, against_voucher_date, d.debit or -1*d.credit)
else:
row += ["", "", "", "", ""]