]> git.koha-community.org Git - koha.git/commit
Bug 30891: SMS provider shows on staff side even if SMS::Send driver is not set to...
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 2 Jun 2022 14:23:08 +0000 (10:23 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Jun 2022 17:29:51 +0000 (14:29 -0300)
commitfebacd36e121185546c87a413e6644dcfe0e9be6
treef78c31705c996446bc624a68d2a76c1adb454844
parentf72b8cbd3eb77ded61e08714b68969f7cacc8224
Bug 30891: SMS provider shows on staff side even if SMS::Send driver is not set to "Email"

It appears that in my original submission ( Bug 9021 ),
I hid the SMS provider selector unless the SMS::Send
driver was set to "Email", but only on the OPAC,
not on the staff interface!

Test Plan:
1) Set SMSSendDriver to anything except "Email"
2) Note the SMS Provider pulldown shows in the patron editor
3) Apply this patch
4) Reload the page, SMS Provider id should now be gone
5) Set SMSSendDriver to "Email"
6) Reload the page, SMS Provider should now be shown

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt