-
Notifications
You must be signed in to change notification settings - Fork 12
Room Change Email Alerts
Here's a list of message that are sent when various events happen surrounding room change requests:
To Student
“Dear {name}, We have received your request..”
Info:
- Student Name
{STUDENT_NAME}
Called from command/SubmitRoomChangeRequestCommand.php
Implemented in HMS_Email::sendRoomChangeRequestReceivedConfirmation()
Template: email/roomChangeRequestReceivedConfirmation.tpl
(if request has num participants >= 2, i.e. is a swap request)
To all participants other than requestor
“Jeremy has submitted a room change request and would like you to switch rooms. Here's the plan:”
Info:
- Requestor’s Name
{REQUESTOR_NAME} - For each participant
{PARTICIPANTS} - Participant Name
{NAME} - Participant’s Current Room #
{CURRENT} - Participant’s Destination Room #
{DESTINATION}
Called from command/SubmitRoomChangeRequestCommand.php
Implemented in HMS_Email::sendRoomChangeParticipantNotice()
Template: email/roomChangeParticipantNotice.tpl
(if request has exactly one participant, i.e. the requestor. It is not a swap request.)
To Participant's current RD
“Jeremy has submitted a room change request…”
Note: This is a distinct message because the single participant lacks a destination bed.
Info:
- Student Name
{STUDENT_NAME} - Banner ID
{BANNER_ID} - Current room #
{CURRENT_ASSIGNMENT} - Cell Phone #
{CELL_PHONE}
Called from command/SubmitRoomChangeRequestCommand.php
Implemented in HMS_Email::sendRoomChangeCurrRDNotice()
Template: email/roomChangeRequestCurrRDNotice.tpl
(if # participants > 1; i.e. is a swap request)
To Current RD of each participant
“A room swap request needs your approval..”
Info:
- For each participant
PARTICIPANT - Participant’s Name
STUDENT_NAME - Participant’s Banner ID
BANNER_ID - Participant’s current location
CURRENT_ASSIGNMENT - Participant’s destination room (if any)
FUTURE_ASSIGNMENT
Called from command/RoomChangeStudentApproveCommand.php
Implemented in HMS_Email::sendRoomChangeParticipantNotice()
Template: email/roomChangeParticipantNotice.tpl
(For both Switch and swap)
To Future RD of each participant
“A room swap request needs your approval…”
Info:
- For each participant
PARTICIPANT - Participant’s Name
NAME - Participant’s Banner ID
BANNER_ID - Participant’s current location
CURRENT - Participant’s destination room
DESTINATION
Called from command/RoomChangeCurrRdApproveCommand.php
Implemented in HMS_Email::sendRoomChangeFutureRDNotice()
Template: email/roomChangeRequestFutureRDNotice.tpl
To Future Roommates -- That is: Anyone assigned in destination room(s) who is not listed as a participant; could be multiple rooms for a swap request
“A room change request has been submitted for the other bed(s) in your room and is pending approval. If approved, you might have a new roommate soon. Please be sure the vacant side of your room is clear of belongings and ready for someone to move into.”
To uha
“A room change request has been submitted by… moving from->to…”
Info:
- For each participant
PARTICIPANT - Participant’s Name
NAME - Participant’s Banner ID
BANNER_ID - Participant’s current location
CURRENT - Participant’s destination room
DESTINATION
Called from command/RoomChangeCurrRdApproveCommand.php
Implemented in HMS_Email::sendRoomChangeFutureRDNotice()
Template: email/roomChangeRequestFutureRDNotice.tpl
To each participant (CC: current RD(s), future RD(s))
“Your room change request has been approved.”
Info:
- For each participant
- Participant’s Name
- Participant’s Banner ID
- Participant’s current location
- Participant’s destination room
To Future Roommates -- That is: Anyone assigned to a participant's destination room(s) who is not listed as a participant; could be multiple rooms for a swap request.
“A room change request has been approved for the vacant bed in your room. You will have a new roommate moving in soon. Please be sure the vacant side of your room is clear of belongings and ready for someone to move into.”
To Old Roommates -- This is: Anyone assigned to a participant's source room(s) who is not listed as a participant; could be multiple rooms for a swap request.
"A room change request has been approved for your roommate. Your roommate will be moving out soon. Another student may be assigned to your room at any time. Please keep the vacant area of your room clear of belongings and ready for someone to move into."
To:
- For each participant
- To participant
- To current RD
- To future RD (if participant has destination)
Info
- Cancelled Reason
To
- For each participant
- To participant
- To current RD
- To future RD (if participant has destination)
Info:
- Denied Reason (public)