Merge pull request #17838 from rohitwaghchaure/fix_payment_period_based_on_invoice_date_error

fix: report Payment Period Based On Invoice Date not working
This commit is contained in:
rohitwaghchaure
2019-06-03 20:12:01 +05:30
committed by GitHub

View File

@@ -28,7 +28,7 @@ def execute(filters=None):
invoice.posting_date, invoice.due_date, d.debit, d.credit, d.remarks]
if d.against_voucher:
row += get_ageing_data(30, 60, 90, d.posting_date, invoice.posting_date, payment_amount)
row += get_ageing_data(30, 60, 90, 120, d.posting_date, invoice.posting_date, payment_amount)
else:
row += ["", "", "", "", ""]
if invoice.due_date: