|
Lines 73-78
Link Here
|
| 73 |
<th scope="col">Letter</th> |
73 |
<th scope="col">Letter</th> |
| 74 |
<th scope="col">Restrict</th> |
74 |
<th scope="col">Restrict</th> |
| 75 |
[% FOREACH mtt IN message_transport_types %] |
75 |
[% FOREACH mtt IN message_transport_types %] |
|
|
76 |
[% NEXT IF mtt == 'itiva' AND !Koha.Preference('TalkingTechItivaPhoneNotification') %] |
| 77 |
[% NEXT IF mtt == 'phone' AND !Koha.Preference('PhoneNotification') %] |
| 76 |
<th scpre="col"> |
78 |
<th scpre="col"> |
| 77 |
[% SWITCH mtt %] |
79 |
[% SWITCH mtt %] |
| 78 |
[% CASE 'email' %] |
80 |
[% CASE 'email' %] |
|
Lines 121-136
Link Here
|
| 121 |
[% END %] |
123 |
[% END %] |
| 122 |
</td> |
124 |
</td> |
| 123 |
[% FOREACH mtt IN value.message_transport_types %] |
125 |
[% FOREACH mtt IN value.message_transport_types %] |
|
|
126 |
[% NEXT IF mtt.value == 'itiva' AND !Koha.Preference('TalkingTechItivaPhoneNotification') %] |
| 127 |
[% NEXT IF mtt.value == 'phone' AND !Koha.Preference('PhoneNotification') %] |
| 124 |
<td> |
128 |
<td> |
| 125 |
[% IF mtt.selected %] |
129 |
[% IF mtt.selected %] |
| 126 |
<input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" checked="checked" /> |
130 |
<input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" checked="checked" /> |
| 127 |
[% ELSE %] |
131 |
[% ELSE %] |
| 128 |
[% IF mtt.value == "sms" and not Koha.Preference("SMSSendDriver") %] |
132 |
[% IF mtt.value == "sms" and not Koha.Preference("SMSSendDriver") %] |
| 129 |
<input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" disabled="disabled" /> |
133 |
<input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" disabled="disabled" /> |
| 130 |
[% ELSIF mtt.value == "itiva" and not Koha.Preference("TalkingTechItivaPhoneNotification") %] |
|
|
| 131 |
<input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" disabled="disabled" /> |
| 132 |
[% ELSIF mtt.value == "phone" and not Koha.Preference("PhoneNotification") %] |
| 133 |
<input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" disabled="disabled" /> |
| 134 |
[% ELSE %] |
134 |
[% ELSE %] |
| 135 |
<input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" /> |
135 |
<input type="checkbox" name="mtt[% tab.number | html %]-[% value.overduename | html %]" value="[% mtt.value | html %]" /> |
| 136 |
[% END %] |
136 |
[% END %] |
| 137 |
- |
|
|