Merge pull request #21981 from frappe/mergify/bp/version-13-beta-pre-release/pr-21972

fix: Total for ageing column 121-Above (bp #21972)
This commit is contained in:
Deepesh Garg 2020-05-27 20:59:19 +05:30 committed by GitHub
commit 33bf90db0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -534,7 +534,7 @@ class ReceivablePayableReport(object):
def get_ageing_data(self, entry_date, row): def get_ageing_data(self, entry_date, row):
# [0-30, 30-60, 60-90, 90-120, 120-above] # [0-30, 30-60, 60-90, 90-120, 120-above]
row.range1 = row.range2 = row.range3 = row.range4 = range5 = 0.0 row.range1 = row.range2 = row.range3 = row.range4 = row.range5 = 0.0
if not (self.age_as_on and entry_date): if not (self.age_as_on and entry_date):
return return