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)
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user