تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3779 أدوات العرض

I have recofigured the standard Overdue Payments report and renamed the 'Maturity' column to 'Due', as it is supposed to show the total for that line only if the amount due date has been passed. The test I am using is as follows:

[[ company.currency_id.symbol ]][[ formatLang((line['date_maturity'] < time.strftime('%Y-%m-%d'))) and formatLang(line['debit'] - line['credit']) ]]

This all looks OK to me but the report returns the total of the line whether it is due or not, so the total due calculation at the bottom of the report is also wrong. Please help?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 16
3438
2
مارس 15
8085
1
مارس 15
7753
0
مارس 15
3625
1
مارس 15
5324