Skip to content

Commit

Permalink
update management command
Browse files Browse the repository at this point in the history
... to apply the logic of assigning credits only for checked in AND out.
  • Loading branch information
jennyq committed Dec 14, 2023
1 parent ea0017c commit ff76c23
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ def handle(self, *args, **options):
else:
for registrant in Registrant.objects.filter(
registration__event=event,
cancel_dt__isnull=True):
checked_in=True,
checked_out=True,
cancel_dt__isnull=True):
reg8n = registrant.registration
if reg8n.status() == 'registered':
print(registrant)
Expand Down

0 comments on commit ff76c23

Please sign in to comment.