diff --git a/apps/treasury/models.py b/apps/treasury/models.py index 427d796d..f17d9405 100644 --- a/apps/treasury/models.py +++ b/apps/treasury/models.py @@ -329,17 +329,18 @@ class SogeCredit(models.Model): bde_qs = Membership.objects.filter(user=self.user, club=bde, date_start__gte=bde.membership_start) kfet_qs = Membership.objects.filter(user=self.user, club=kfet, date_start__gte=kfet.membership_start) - if bde_qs.exists(): - m = bde_qs.get() - if MembershipTransaction.objects.filter(membership=m).exists(): # non-free membership - if m.transaction not in self.transactions.all(): - self.transactions.add(m.transaction) - - if kfet_qs.exists(): - m = kfet_qs.get() - if MembershipTransaction.objects.filter(membership=m).exists(): # non-free membership - if m.transaction not in self.transactions.all(): - self.transactions.add(m.transaction) +## Soge didn't pay BDE and kfet memberships +# if bde_qs.exists(): +# m = bde_qs.get() +# if MembershipTransaction.objects.filter(membership=m).exists(): # non-free membership +# if m.transaction not in self.transactions.all(): +# self.transactions.add(m.transaction) +# +# if kfet_qs.exists(): +# m = kfet_qs.get() +# if MembershipTransaction.objects.filter(membership=m).exists(): # non-free membership +# if m.transaction not in self.transactions.all(): +# self.transactions.add(m.transaction) if 'wei' in settings.INSTALLED_APPS: from wei.models import WEIClub