Some memberships were detected twice
This commit is contained in:
parent
169895a825
commit
53098f8adc
|
@ -385,7 +385,7 @@ class Command(ImportCommand):
|
|||
user=user,
|
||||
club_id__in=[BDE_PK, KFET_PK],
|
||||
date_start__lte=soge_credit_transaction.created_at,
|
||||
date_end__gte=soge_credit_transaction.created_at,
|
||||
date_end__gte=soge_credit_transaction.created_at + datetime.timedelta(days=61),
|
||||
).all()
|
||||
for membership in memberships:
|
||||
soge_credit.transactions.add(membership.transaction)
|
||||
|
|
Loading…
Reference in New Issue