|
Lines 11-16
Link Here
|
| 11 |
[% IF Koha.Preference('SMSSendDriver') %]<th>SMS</th>[% END %] |
11 |
[% IF Koha.Preference('SMSSendDriver') %]<th>SMS</th>[% END %] |
| 12 |
[% IF Koha.Preference('TalkingTechItivaPhoneNotification') || Koha.Preference('PhoneNotification') %]<th>Phone</th>[% END %] |
12 |
[% IF Koha.Preference('TalkingTechItivaPhoneNotification') || Koha.Preference('PhoneNotification') %]<th>Phone</th>[% END %] |
| 13 |
<th>Email</th> |
13 |
<th>Email</th> |
|
|
14 |
[% SET has_print_transport = 0 %] |
| 15 |
[% FOREACH pref IN messaging_preferences %] |
| 16 |
[% IF pref.transport_print %][% SET has_print_transport = 1 %][% LAST %][% END %] |
| 17 |
[% END %] |
| 18 |
[% IF has_print_transport %] |
| 19 |
<th> |
| 20 |
Print |
| 21 |
[% IF patron.category.print_notice_charge > 0 %] |
| 22 |
([% patron.category.print_notice_charge | $Price %] charge) |
| 23 |
[% END %] |
| 24 |
</th> |
| 25 |
[% END %] |
| 14 |
<th |
26 |
<th |
| 15 |
>Digests only |
27 |
>Digests only |
| 16 |
<i id="info_digests" data-bs-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-bs-placement="right" class="fa fa-info-circle"></i |
28 |
<i id="info_digests" data-bs-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-bs-placement="right" class="fa fa-info-circle"></i |
|
Lines 249-254
Link Here
|
| 249 |
<td>-</td> |
261 |
<td>-</td> |
| 250 |
[% END %] |
262 |
[% END %] |
| 251 |
|
263 |
|
|
|
264 |
[% IF has_print_transport %] |
| 265 |
[% IF ( messaging_preference.transport_print ) %] |
| 266 |
<td> |
| 267 |
[% IF ( messaging_form_inactive ) %] |
| 268 |
[% IF ( messaging_preference.transports_print ) %] |
| 269 |
<input |
| 270 |
type="checkbox" |
| 271 |
id="print[% messaging_preference.message_attribute_id | html %]" |
| 272 |
name="[% messaging_preference.message_attribute_id | html %]" |
| 273 |
value="print" |
| 274 |
class="pmp_print" |
| 275 |
checked="checked" |
| 276 |
disabled="disabled" |
| 277 |
/> |
| 278 |
[% ELSE %] |
| 279 |
<input type="checkbox" id="print[% messaging_preference.message_attribute_id | html %]" name="[% messaging_preference.message_attribute_id | html %]" value="print" class="pmp_print" disabled="disabled" /> |
| 280 |
[% END %] |
| 281 |
[% ELSE %] |
| 282 |
[% IF patron.category.print_notice_charge > 0 %] |
| 283 |
<div class="print-notice-warning"> |
| 284 |
<small class="text-warning"> |
| 285 |
<i class="fa fa-exclamation-triangle"></i> |
| 286 |
[% patron.category.print_notice_charge | $Price %] charge per notice |
| 287 |
</small> |
| 288 |
</div> |
| 289 |
[% END %] |
| 290 |
[% IF ( messaging_preference.transports_print ) %] |
| 291 |
<input |
| 292 |
type="checkbox" |
| 293 |
id="print[% messaging_preference.message_attribute_id | html %]" |
| 294 |
name="[% messaging_preference.message_attribute_id | html %]" |
| 295 |
value="print" |
| 296 |
checked="checked" |
| 297 |
class="pmp_print active_notify" |
| 298 |
data-attr-id="[% messaging_preference.message_attribute_id | html %]" |
| 299 |
/> |
| 300 |
[% ELSE %] |
| 301 |
<input |
| 302 |
type="checkbox" |
| 303 |
id="print[% messaging_preference.message_attribute_id | html %]" |
| 304 |
name="[% messaging_preference.message_attribute_id | html %]" |
| 305 |
value="print" |
| 306 |
class="pmp_print active_notify" |
| 307 |
data-attr-id="[% messaging_preference.message_attribute_id | html %]" |
| 308 |
/> |
| 309 |
[% END %] |
| 310 |
[% END %] |
| 311 |
</td> |
| 312 |
[% ELSE %] |
| 313 |
<td>-</td> |
| 314 |
[% END %] |
| 315 |
[% END %] |
| 316 |
|
| 252 |
[% IF ( messaging_preference.has_digest ) %] |
317 |
[% IF ( messaging_preference.has_digest ) %] |
| 253 |
<td> |
318 |
<td> |
| 254 |
[% IF ( messaging_form_inactive ) %] |
319 |
[% IF ( messaging_form_inactive ) %] |