From a4b3112232f408043934dd03358bed632e239601 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Mon, 24 Jul 2023 23:02:57 +0000 Subject: [PATCH] Assign SawStop course to lockout --- apiserver/apiserver/api/views.py | 4 ++-- webclient/src/AdminMembers.js | 2 +- webclient/src/Training.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apiserver/apiserver/api/views.py b/apiserver/apiserver/api/views.py index 77bdb6f..4c74ee9 100644 --- a/apiserver/apiserver/api/views.py +++ b/apiserver/apiserver/api/views.py @@ -411,8 +411,8 @@ class TrainingViewSet(Base, Retrieve, Create, Update): # always update cert date incase member is returning and gets recertified if session.course.id == 249: member.orientation_date = check_attendance() - #elif session.course.id == 261: - # member.wood_cert_date = check_attendance() + elif session.course.id == 463: + member.wood_cert_date = check_attendance() elif session.course.id == 401: member.wood2_cert_date = check_attendance() elif session.course.id == 281: diff --git a/webclient/src/AdminMembers.js b/webclient/src/AdminMembers.js index e173088..da07a30 100644 --- a/webclient/src/AdminMembers.js +++ b/webclient/src/AdminMembers.js @@ -736,7 +736,7 @@ export function AdminMemberCertifications(props) { SawStop {member.wood_cert_date ? 'Yes, ' + member.wood_cert_date : 'No'} - SawStop course (WIP) + SawStop Update diff --git a/webclient/src/Training.js b/webclient/src/Training.js index eaf32e4..61227f3 100644 --- a/webclient/src/Training.js +++ b/webclient/src/Training.js @@ -35,7 +35,7 @@ export function CertList(props) { SawStop {isMobile && 'Enabled: '}{member.wood_cert_date ? 'Yes, ' + member.wood_cert_date : 'No'} - SawStop course (WIP) + SawStop Update Drum Sander