stc

a simple time card webapp
git clone _git@git.brennen.work:stc.git
Log | Files | Refs | README

commit 7e3fae0a44829ff34871fdc9fb7ad5a0f98f7e35
parent 767465e6f911f57f24929bafb636536320d0a10f
Author: Youth Employment Program Production <youthemployment22@gmail.com>
Date:   Wed,  1 May 2024 10:53:18 -0600

move TODO and update

Diffstat:
ATODO.md | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
Dapp/TODO.md | 50--------------------------------------------------
2 files changed, 52 insertions(+), 50 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -0,0 +1,52 @@ +# OVERVIEW +## MANDATORY +- [ ] Agreement and Project Management Refining +- [ ] Clean up interface +- [ ] Functional Fleet management and checkin/checkout +- [ ] Navigation tweaks + +## OPTIONAL +- [ ] Active(clocked in) Users should be refined to Active Projects for scalability, selecting a clocked in project shows crew members clocked into said project. +- [ ] Progressive Web App Implementation + +# NITTYY GRITTY +## MANDATORY +- [ ] add remove agreement + WARNING CONFIRM form + - [ ] must move or remove child projects (NOLAN SAYS JUST WARN NEEDS TO BE ADDRESSED AND REDIRECT DON'T REMOVE) + - [ ] remove times if project is deleted? Move to YEP General to continue to pay employees? MUST ADDRESS ENTRIES BEFORE PROJECT IS ACTUALLY REMOVED +- [X] add change agreement name +- [>] add remove project + WARNING CONFIRM form + - [ ] must offer to change all time entries under project to another project CURRENTLY ORPHANS ENTRIES + - [X] ''' + db.agreements_collection.updateOne({agreement_name:project_name},{$pull:{projects:{$in:[project_id]}}}) + ''' +- [X] add change project name +- [X] add move project + - [X] ''' + db.agreements_collection.updateOne({agreement_name:project_current_agreement_name},{$pull:{projects:{$in:[project_id]}}}) + ''' + - [X] ''' + db.agreements_collection.updateOne({agreement_name:project_new_agreement_name},{$push:{projects:project_id}}) + ''' + - [X] `db.projects_collection.updateOne({_id:project_id},{agreement:new_agreement_id})` +- [X] hours page change project linking +- [X] hours page swap to aggregate and allow sort accending recent +- [ ] fleet entries must function +- [>] time entries must enforce positive time values + - [x] form requires positive values through validation + - [ ] update forms must check present values (must check after submit) +- [ ] css sidebar for admin and accessable toolbar +- [ ] newproject should take values for FE#, Name, and optional description? Should add check to enforce unique`project_name... Easy to do if check value of FE integer after submission of form.` + + +## OPTIONAL +- [ ] rework admin page flow to show agency for projects?... wanted to sort and display by agency, but is many to one relationship... + +#TODO TODAY!!! +- [X] Change username to firstname lastname for today +- [X] change all match from feb 1 to today for nolan to tnc management +- [ ] executive director sets default agreement wages per role, on end of fiscal year(Nolan says March 1st) set confirmed:False and prompt Executive director for new values (might as well offer fringe update) + +If genrate spreadsheet fleet is billable calculate fleet, else return 0 on sheet. diff --git a/app/TODO.md b/app/TODO.md @@ -1,50 +0,0 @@ -# OVERVIEW -## MANDATORY -- [ ] Agreement and Project Management Refining -- [ ] Clean up interface -- [ ] Functional Fleet management and checkin/checkout -- [ ] Navigation tweaks - -## OPTIONAL -- [ ] Active(clocked in) Users should be refined to Active Projects for scalability, selecting a clocked in project shows crew members clocked into said project. -- [ ] Progressive Web App Implementation - -# NITTYY GRITTY -## MANDATORY -- [ ] add remove agreement - WARNING CONFIRM form - - [ ] must move or remove child projects (NOLAN SAYS JUST WARN NEEDS TO BE ADDRESSED AND REDIRECT DON'T REMOVE) - - [ ] remove times if project is deleted? Move to YEP General to continue to pay employees? MUST ADDRESS ENTRIES BEFORE PROJECT IS ACTUALLY REMOVED -- [X] add change agreement name -- [>] add remove project - WARNING CONFIRM form - - [ ] must offer to change all time entries under project to another project CURRENTLY ORPHANS ENTRIES - - [X] ''' - db.agreements_collection.updateOne({agreement_name:project_name},{$pull:{projects:{$in:[project_id]}}}) - ''' -- [X] add change project name -- [X] add move project - - [X] ''' - db.agreements_collection.updateOne({agreement_name:project_current_agreement_name},{$pull:{projects:{$in:[project_id]}}}) - ''' - - [X] ''' - db.agreements_collection.updateOne({agreement_name:project_new_agreement_name},{$push:{projects:project_id}}) - ''' - - [X] `db.projects_collection.updateOne({_id:project_id},{agreement:new_agreement_id})` -- [X] hours page change project linking -- [X] 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 -- [ ] newproject 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... - -#TODO TODAY!!! -- [X] Change username to firstname lastname for today -- [X] change all match from feb 1 to today for nolan to tnc management -- [ ] executive director sets default agreement wages per role, on end of fiscal year(Nolan says March 1st) set confirmed:False and prompt Executive director for new values (might as well offer fringe update) - -If genrate spreadsheet fleet is billable calculate fleet, else return 0 on sheet.