Match training transactions regardless of status

This commit is contained in:
Tanner Collin 2022-05-23 21:27:24 +00:00
parent adb14f5c4f
commit dc45311e9d

View File

@ -221,8 +221,8 @@ def check_training(data, training_id, amount):
training = trainings.get(id=training_id) training = trainings.get(id=training_id)
if training.attendance_status != 'Waiting for payment': #if training.attendance_status != 'Waiting for payment':
return False # return False
if not training.session: if not training.session:
return False return False