Merge pull request #17839 from rohitwaghchaure/fix_payment_period_based_on_invoice_date_error_develop

fix: report Payment Period Based On Invoice Date not working
This commit is contained in:
rohitwaghchaure 2019-06-03 20:12:25 +05:30 committed by GitHub
commit 941af3f078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: