Continued to modify the saving of the activity in the added activity modal, the cause of the error is the form called in the submit is incorrect, fixed it and tested the changes, and as per testing, it is now OK. Modified the query for adding the activity to add the updating of the ticket total hours based on the logged activity hours, tested the changes, as per testing, it is now OK.