Allow certification regenration for existing honor certificates
staff should be able to regenerate certificates for the students who have already earned the certificate using honor mode Prod-612
This commit is contained in:
@@ -291,7 +291,8 @@ class XQueueCertInterface(object):
|
||||
mode_is_verified = enrollment_mode in GeneratedCertificate.VERIFIED_CERTS_MODES
|
||||
user_is_verified = IDVerificationService.user_is_verified(student)
|
||||
cert_mode = enrollment_mode
|
||||
is_eligible_for_certificate = is_whitelisted or CourseMode.is_eligible_for_certificate(enrollment_mode)
|
||||
is_eligible_for_certificate = is_whitelisted or CourseMode.is_eligible_for_certificate(enrollment_mode,
|
||||
cert_status)
|
||||
unverified = False
|
||||
# For credit mode generate verified certificate
|
||||
if cert_mode in (CourseMode.CREDIT_MODE, CourseMode.MASTERS):
|
||||
|
||||
Reference in New Issue
Block a user