From a9671009908d0915e93a3062d37c0c63aa654d71 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 27 Nov 2013 12:05:15 +0530 Subject: [PATCH] Update payment_collection_with_ageing.py --- .../payment_collection_with_ageing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.py b/accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.py index 41c5f3e18a..0c2078bbab 100644 --- a/accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.py +++ b/accounts/report/payment_collection_with_ageing/payment_collection_with_ageing.py @@ -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 += ["", "", "", "", ""] @@ -74,4 +74,4 @@ def get_si_posting_date_map(): for t in webnotes.conn.sql("""select name, posting_date from `tabSales Invoice`"""): si_posting_date_map[t[0]] = t[1] - return si_posting_date_map \ No newline at end of file + return si_posting_date_map