From 5831e40b3bf4b20b42999b64a14208fad7ded24d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 2 Jun 2022 10:23:08 -0400 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index e61ae4f688..867074bf7b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1511,7 +1511,7 @@ legend:hover { Please enter numbers only. Prefix the number with + if including the country code.

- [% UNLESS nosms_provider_id %] + [% IF SMSSendDriver == 'Email' && !nosms_provider_id %]