Staff interface -> Patron details -> Add Message Current options are: Staff - Internal note OPAC Email - email addresses of patron Add: SMS - sms number of patron
Created attachment 187226 [details] [review] Bug 40933: Add the ability to send custom SMS messages to a patron To test: 1. Make sure SMSSendDriver system preference is enabled 2. In staff client, navigate to patron details of any patron 3. From the members menu toolbar, click "Add Message" 4. Under "Add a message for", select "SMS - sms number of patron" 5. Write a custom message 6. Click "Save" 7. Navigate to patron's Notices tab 8. Observe a new notice titled "SMS added by a librarian" 9. Click it 10. Observe the content you wrote in step 5
Created attachment 188643 [details] [review] Bug 40933: Add the ability to send custom SMS messages to a patron To test: 1. Make sure SMSSendDriver system preference is enabled 2. In staff client, navigate to patron details of any patron 3. From the members menu toolbar, click "Add Message" 4. Under "Add a message for", select "SMS - sms number of patron" 5. Write a custom message 6. Click "Save" 7. Navigate to patron's Notices tab 8. Observe a new notice titled "SMS added by a librarian" 9. Click it 10. Observe the content you wrote in step 5 Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
This is no longer adding "SMS added by a librarian" as the subject of the message. The lack of subject means there is no link to see the notice content in the patron's Notices tab.
Looking back at this, I've noticed that this code does not allow an SMS to be generating using an existing notice. When sending an email via Add Message, one can either type in email text directly or select a pre-defined letter_code. It would be ideal for SMS messages to match this functionality.