Lock tickets as open or scheduled until any associated checklists are completed
-
JonMagic
- State changed from new to open
I need to implement the following:
. add method on checklist class that returns true/false on whether a checklist is completed
. add a view helper that puts the Complete button in based on whether or not all the checklists associated with the ticket have a completed status
-
JonMagic
- State changed from open to resolved
I implemented a complete? method on checklist_items and checklists, and a checklists_completed? method on tickets. I then put in a view helper for tickets to show the completed image, and modified my view code so the complete button does not show unless the checklists are complete.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.