Update accounts_payable.py
This commit is contained in:
parent
91db9dc4ee
commit
e587bc3024
@ -54,7 +54,7 @@ def execute(filters=None):
|
||||
else:
|
||||
ageing_based_on_date = gle.posting_date
|
||||
|
||||
row += get_ageing_data(ageing_based_on_date, age_on, outstanding_amount)
|
||||
row += get_ageing_data(age_on, ageing_based_on_date, outstanding_amount)
|
||||
data.append(row)
|
||||
|
||||
return columns, data
|
||||
@ -130,4 +130,4 @@ def get_outstanding_amount(gle, report_date):
|
||||
(gle.account, report_date, gle.voucher_type, gle.voucher_no, gle.name))[0][0]
|
||||
|
||||
outstanding_amount = flt(gle.credit) - flt(gle.debit) - flt(payment_amount)
|
||||
return outstanding_amount
|
||||
return outstanding_amount
|
||||
|
Loading…
x
Reference in New Issue
Block a user