diff --git a/backend/benefit/applications/services/applications_power_bi_csv_report.py b/backend/benefit/applications/services/applications_power_bi_csv_report.py index 5d57823021..2ffe36319d 100644 --- a/backend/benefit/applications/services/applications_power_bi_csv_report.py +++ b/backend/benefit/applications/services/applications_power_bi_csv_report.py @@ -32,7 +32,8 @@ def get_completed_in_talpa_date( def get_alteration_amount(self, application: Application) -> float: sum = 0 for alteration in application.alteration_set.all(): - if alteration.recovery_amount: + # Only include alterations with recovery amount over 20€ + if alteration.recovery_amount and alteration.recovery_amount > 20: sum += alteration.recovery_amount return sum