Creating a Billing Task:
If a billing task is created and active, the job can’t be marked as “stagnant.”
- Add server logic to prevent this when updating project status
- There is project automation that updates this project stage, not sure how best to handle
- Should return an error if the user sets to stagnant from the UI
- Check unit tests
Improvement:
When creating a "Bill Complete" task manually
Prompt: “You are creating a “Bill Complete” task. Do you want to mark the job as Finished?”
If the user selects Yes:
Set job/wo project stage to Finished
Set the Finish Date = Today’s date
This prevents conflicts with logic requiring a finish date
Creating a Billing Task:
If a billing task is created and active, the job can’t be marked as “stagnant.”
Improvement:
When creating a "Bill Complete" task manually
Prompt: “You are creating a “Bill Complete” task. Do you want to mark the job as Finished?”
If the user selects Yes:
Set job/wo project stage to Finished
Set the Finish Date = Today’s date
This prevents conflicts with logic requiring a finish date