@@ -, +, @@ triggers" --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt @@ -73,6 +73,8 @@ Letter Restrict [% FOREACH mtt IN message_transport_types %] + [% NEXT IF mtt == 'itiva' AND !Koha.Preference('TalkingTechItivaPhoneNotification') %] + [% NEXT IF mtt == 'phone' AND !Koha.Preference('PhoneNotification') %] [% SWITCH mtt %] [% CASE 'email' %] @@ -121,16 +123,14 @@ [% END %] [% FOREACH mtt IN value.message_transport_types %] + [% NEXT IF mtt.value == 'itiva' AND !Koha.Preference('TalkingTechItivaPhoneNotification') %] + [% NEXT IF mtt.value == 'phone' AND !Koha.Preference('PhoneNotification') %] [% IF mtt.selected %] [% ELSE %] [% IF mtt.value == "sms" and not Koha.Preference("SMSSendDriver") %] - [% ELSIF mtt.value == "itiva" and not Koha.Preference("TalkingTechItivaPhoneNotification") %] - - [% ELSIF mtt.value == "phone" and not Koha.Preference("PhoneNotification") %] - [% ELSE %] [% END %] --