Use the dev branch and make sure to drop your existing database and create another one. And yes, this means you have to register again 🥲
Users
Regular (adding of SWTDs)
Admin (Rendering of Admin page, Dashboard, and the Clear Employee button--does not work btw)
Having one user (admin only) cannot be possible as the currently logged in user (admin) will not be rendered in the employee list in Admin/Staff Dashboard. In other words, they cannot validate/clear themselves.
CHANGES MADE
Admin Page
Added page for adding a new term (ex. First Semester AY 2324, Summer AY 2324, etc.)
Term is REQUIRED for user to make a SWTD submission
Moved Logs tab (from Settings page) to Admin Page -- NOT WORKING
Date fields do not have the same restrictions as SWTDs where future dates are not allowed. However, end date cannot be before the start date which is already handled.
Adding of Term Filter
Now has a term filter, defaults to no table when no term is selected which is idk hasul, subject to change (Employee Dashboard). But for now, it works and I'll make that change later ðŸ«
Also applies to the Dashboard > Employee SWTDs render
The message that appears when there are no SWTDs for that term
REQUIREMENTS FOR TESTING
Backend
Use the
dev
branch and make sure to drop your existing database and create another one. And yes, this means you have to register again 🥲Users
Having one user (admin only) cannot be possible as the currently logged in user (admin) will not be rendered in the employee list in Admin/Staff Dashboard. In other words, they cannot validate/clear themselves.
CHANGES MADE
Admin Page
Adding of Term Filter
Adding of Term in Add, View, Edit SWTD Pages