Match training transactions regardless of status
This commit is contained in:
parent
adb14f5c4f
commit
dc45311e9d
|
@ -221,8 +221,8 @@ def check_training(data, training_id, amount):
|
|||
|
||||
training = trainings.get(id=training_id)
|
||||
|
||||
if training.attendance_status != 'Waiting for payment':
|
||||
return False
|
||||
#if training.attendance_status != 'Waiting for payment':
|
||||
# return False
|
||||
|
||||
if not training.session:
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue
Block a user