Bug 40933 - Add SMS support under Add message feature
Summary: Add SMS support under Add message feature
Status: Failed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Lari Taskula
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-01 20:02 UTC by Lari Taskula
Modified: 2026-01-09 00:08 UTC (History)
3 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 40933: Add the ability to send custom SMS messages to a patron (3.73 KB, patch)
2025-10-01 20:36 UTC, Lari Taskula
Details | Diff | Splinter Review
Bug 40933: Add the ability to send custom SMS messages to a patron (3.80 KB, patch)
2025-10-30 13:12 UTC, Laura Escamilla
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lari Taskula 2025-10-01 20:02:12 UTC
Staff interface -> Patron details -> Add Message

Current options are:

Staff - Internal note
OPAC
Email - email addresses of patron

Add:

SMS - sms number of patron
Comment 1 Lari Taskula 2025-10-01 20:36:36 UTC
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
Comment 2 Laura Escamilla 2025-10-30 13:12:56 UTC
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>
Comment 3 Andrew Fuerste-Henry 2026-01-06 17:05:26 UTC
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.
Comment 4 Andrew Fuerste-Henry 2026-01-06 21:06:19 UTC
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.