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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 12 Jul 2022 16:06:15 +0000 (16:06 +0000)
commit4c75d1613b21683481a1827e717e6146feaeffb6
tree2182068db3039cf59908a0f6477e017f187a8da3
parenta5f31c6e2ecc9c85558d57c3f26c6cdedaa68912
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>
(cherry picked from commit febacd36e121185546c87a413e6644dcfe0e9be6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt