From a094ac71b86080f93c99d5eee980f914a1cb5c2b Mon Sep 17 00:00:00 2001
From: Kyle M Hall <kyle@bywatersolutions.com>
Date: Tue, 3 Nov 2020 13:21:24 -0500
Subject: [PATCH] Bug 25334: (QA follow-up) Update overduerules.tt

---
 koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt
index 2e189cc747..22d4050fe0 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt
@@ -84,6 +84,8 @@
                   [% CASE 'feed' %]
                     Feed
                   [% CASE 'itiva' %]
+                    Phone (i-tiva)
+                  [% CASE 'phone' %]
                     Phone
                   [% CASE %]
                     [% mtt | html %]
@@ -127,6 +129,8 @@
                       <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 %]
-- 
2.24.1 (Apple Git-126)