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>
This commit is contained in:
parent
f72b8cbd3e
commit
febacd36e1
1 changed files with 1 additions and 1 deletions
|
@ -1511,7 +1511,7 @@ legend:hover {
|
|||
<input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber | html %]" />
|
||||
<span class="hint sms_number_help">Please enter numbers only. Prefix the number with + or 00 if including the country code.</span>
|
||||
</p>
|
||||
[% UNLESS nosms_provider_id %]
|
||||
[% IF SMSSendDriver == 'Email' && !nosms_provider_id %]
|
||||
<p>
|
||||
<label for="sms_provider_id">SMS provider:</label>
|
||||
<select id="sms_provider_id" name="sms_provider_id">
|
||||
|
|
Loading…
Reference in a new issue