Bug 25334: (QA follow-up) Update overduerules.tt
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 3 Nov 2020 18:21:24 +0000 (13:21 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 5 Nov 2020 14:24:20 +0000 (15:24 +0100)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt

index 2e189cc..22d4050 100644 (file)
@@ -84,6 +84,8 @@
                   [% CASE 'feed' %]
                     Feed
                   [% CASE 'itiva' %]
+                    Phone (i-tiva)
+                  [% CASE 'phone' %]
                     Phone
                   [% CASE %]
                     [% mtt | html %]
                       <input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" disabled="disabled" />
                     [% ELSIF mtt.value == "itiva" and not Koha.Preference("TalkingTechItivaPhoneNotification") %]
                       <input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" disabled="disabled" />
+                    [% ELSIF mtt.value == "phone" and not Koha.Preference("PhoneNotification") %]
+                        <input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" disabled="disabled" />
                     [% ELSE %]
                       <input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" />
                     [% END %]