issues
search
devkjoon
/
ts-trainings
ts-trainings
0
stars
0
forks
source link
Only Generate Certificate Once
#29
Closed
devkjoon
closed
3 weeks ago
devkjoon
commented
3 weeks ago
the certificate is generated after the student completes and passes the test
currently you are able to do this multiple times and every time, the certification is generated again
make it so that the certification is generated only the first time
devkjoon
commented
3 weeks ago
the backend checks to see if the module.isfinaltest is in the completed modules
if it isn't, then it adds it to completed modules and generates a certificate
the email is then sent to the students email
if the student retakes the test, the backend does not generate the certification again as its already in completed modules