Modified the ticket controller for adding a function so that when the ticket row is clicked, the add activity modal will appear, this is how the activity will be added, and a button will not be used for add activity modal. Aligned the ticket layout to the maintenance layout