commit 11aa0cdab455ddbe9a237069d07871e376ba1834
parent 9cc230fc5c2ae7f75e1208aa60fdaf3367e42e7d
Author: Youth Employment Program Production <youthemployment22@gmail.com>
Date: Tue, 19 Sep 2023 15:42:13 -0600
Fixed TODO list, had accidentally overwritten list
Diffstat:
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/app/TODO.md b/app/TODO.md
@@ -1 +1,29 @@
-[] hours page change project linking
+## MANDATORY
+- [ ] add remove agreement
+ WARNING CONFIRM form
+ - [ ] must move or remove child projects
+ - [ ] remove times if project is deleted? Move to YEP General to continue to pay employees?
+- [ ] add remove project
+ WARNING CONFIRM form
+ - [ ] must offer to change all time entries under project to another project
+ - [ ] '''
+ db.agreements_collection.updateOne({agreement_name:project_name},{$pull:{projects:{$in:[project_id]}}})
+ '''
+- [ ] add move project
+ - [ ] '''
+ db.agreements_collection.updateOne({agreement_name:project_current_agreement_name},{$pull:{projects:{$in:[project_id]}}})
+ '''
+ - [ ] '''
+ db.agreements_collection.updateOne({agreement_name:project_new_agreement_name},{$push:{projects:project_id}})
+ '''
+ - [ ] `db.projects_collection.updateOne({_id:project_id},{agreement:new_agreement_id})`
+- [ ] hours page change project linking
+- [ ] hours page swap to aggregate and allow sort accending recent
+- [ ] fleet entries must function
+- [ ] time entries must enforce positive time values
+- [ ] css sidebar for admin and accessable toolbar
+- [ ] project add must check and enforce unique `project_name`
+
+
+## OPTIONAL
+- [ ] rework admin page flow to show agency for projects?... wanted to sort and display by agency, but is many to one relationship...