Re-work the auto-expire form logic
The auto-expire form is amazing. and adding the emoji to appointments showing forms due is amazing. I just discovered a major whole in the logic to the system though:
The auto-expired form triggers a new form to be assigned to the NEXT appointment after the expiration, and then it quits.
If, for any reason, the client does not complete that form, no other form is triggered.
This results in me having to manually check EVERY appointment for appropriate forms. The auto expire helps some as it removes old forms, but the lack of the form emoji is meaningless as I can't verify whether they actually completed the new form, if they don't actually need it, or if it was somehow just missed in the logic.
The system should assign a new form for EVERY appointment until the form is COMPLETED.
It will do this for forms that are just required for every service (a cancellation policy for example). So it should be able to do this for the auto-expired forms.