diff --git a/apps/registration/views.py b/apps/registration/views.py index 746c856b..a680996d 100644 --- a/apps/registration/views.py +++ b/apps/registration/views.py @@ -230,9 +230,6 @@ class FutureUserDetailView(ProtectQuerysetMixin, LoginRequiredMixin, FormMixin, fee += bde.membership_fee_paid if user.profile.paid else bde.membership_fee_unpaid kfet = Club.objects.get(name="Kfet") fee += kfet.membership_fee_paid if user.profile.paid else kfet.membership_fee_unpaid - # In 2020, for COVID-19 reasons, the BDE offered 80 € to each new member that opens a Sogé account, - # since there is no WEI. - fee += 8000 ctx["total_fee"] = "{:.02f}".format(fee / 100, ) ctx["declare_soge_account"] = SogeCredit.objects.filter(user=user).exists() diff --git a/apps/treasury/models.py b/apps/treasury/models.py index 2e86245f..0b5948fd 100644 --- a/apps/treasury/models.py +++ b/apps/treasury/models.py @@ -303,7 +303,7 @@ class SogeCredit(models.Model): @property def amount(self): return self.credit_transaction.total if self.valid \ - else sum(transaction.total for transaction in self.transactions.all()) + 8000 + else sum(transaction.total for transaction in self.transactions.all()) def invalidate(self): """