From ec2ca4eecf7c720356b0de8f46ad0affbe5004f5 Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Thu, 21 Dec 2017 13:56:34 +0200 Subject: [PATCH] Bug 19857: Use BorrowerUnwantedField system preference for SMS provider selection Optionally hide SMS provider field in patron modification screen with BorrowerUnwantedField system preference. To test: 1. Apply patch 2. Append BorrowerUnwantedField with sms_provider_id and save changes 3. Go to patron modification screen in staff client 4. Observe the SMS provider selection is now hidden Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 ++ 1 file changed, 2 insertions(+) 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 8a17653c03..468370c434 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1241,6 +1241,7 @@ $(document).ready(function() {

+ [% UNLESS nosms_provider_id %]

+ [% END %] [% END %] [% END %] [% END %] -- 2.39.5