Skip to content
Snippets Groups Projects
Commit afdfdb2e authored by Finlay White's avatar Finlay White :speech_balloon:
Browse files

check review bugs fixed

parent defe3a48
No related branches found
No related tags found
No related merge requests found
......@@ -362,10 +362,8 @@ BEGIN
concat("needs redoing in the before",DBSdue))) as "dbs refiew" ,
if(date_sub(SGdue, interval 6 month) > CURDATE()=1 ,
"ALL GOOD",
if(CURDATE()>DBSdue=1
,concat("already Due ",fname," does not have a valid SG check")
concat("needs redoing in the before",SGdue))) as "SuperGeeks training reviewz"
if(CURDATE()>SGdue=1
,concat("already Due ",fname," does not have a valid SG check"), concat("needs redoing in the before",SGdue))) as "SuperGeeks training reviewz"
from volunteers where date_sub(DBSdue, interval 6 month) < CURDATE()=1 or date_sub(SGdue, interval 6 month) < CURDATE()=1;
END$$
......@@ -396,7 +394,7 @@ call addBadge("real badge","this is a totally real badge");
call addStudent("timothy","jones",'2002-2-11','8e301d6e513165a9c0b6b9a2b10c8305',"EXTREMELYSTRONGPASSWORD");
call addVolunteer("timothy","jones",'bob@bbc.co.uk','8e301d6e513165a9c0b6b9a2b10c8305',"0777008913");
call updateSG('419fd9859978a9bf79df4ff16c99c5f9',"2015-09-09");
call updateSG('419fd9859978a9bf79df4ff16c99c5f9',"2020-04-09");
call updateDBS('419fd9859978a9bf79df4ff16c99c5f9',"2021-09-09");
call viewCheckExpiries();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment