@ -157,7 +157,7 @@ class SchoolPayment(Payment):
models.Sum('month_price'),
)
month_price_sum = aggregate.get('month_price__sum', 0)
if len(self.weekdays) > 7:
if month_price_sum > config.SERVICE_DISCOUNT_MIN_AMOUNT:
discount = config.SERVICE_DISCOUNT
else:
discount = 0