mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
Update payment_collection_with_ageing.py
This commit is contained in:
@@ -21,7 +21,7 @@ def execute(filters=None):
|
|||||||
d.debit, d.credit, d.cheque_no, d.cheque_date, d.remark]
|
d.debit, d.credit, d.cheque_no, d.cheque_date, d.remark]
|
||||||
|
|
||||||
if d.against_invoice:
|
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:
|
else:
|
||||||
row += ["", "", "", "", ""]
|
row += ["", "", "", "", ""]
|
||||||
|
|
||||||
@@ -74,4 +74,4 @@ def get_si_posting_date_map():
|
|||||||
for t in webnotes.conn.sql("""select name, posting_date from `tabSales Invoice`"""):
|
for t in webnotes.conn.sql("""select name, posting_date from `tabSales Invoice`"""):
|
||||||
si_posting_date_map[t[0]] = t[1]
|
si_posting_date_map[t[0]] = t[1]
|
||||||
|
|
||||||
return si_posting_date_map
|
return si_posting_date_map
|
||||||
|
|||||||
Reference in New Issue
Block a user