Details
Description
As of 3.0 release, we ALWAYS send email to the participant when the status is changed from Edit Participant form. Although this is reasonable default behavior, it's confusing to the user for an email notification to be sent (on Cancellation for example) even though the "Send Confirmation" checkbox is NOT checked.
Implementation
===========-
- Add a conditionally displayed checkbox next to the Participant Status field -> "Send Notification". This checkbox is shown when user changes participant status to one of the following: Cancelled, Pending from approval, Pending from waitlist, Expired. Default state is checked.
- Pass the checkbox flag state to UpdateStatusMessage(), and then to Event_BAO_Participant::transitionParticipants(). If checked, we send email (default behavior). If NOT checked, not email is sent.
- Modify statusMsg shown to user as needed (so it correctly displays whether email has been sent or not).