@@ -, +, @@
notification not already waiting
box)
---
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 13 +++++++++++++
1 file changed, 13 insertions(+)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
@@ -409,6 +409,19 @@ $(document).ready(function () {
[% borcity %] [% borzip %]
[% IF ( borphone ) %]
[% borphone %][% END %]
[% IF ( boremail ) %][% IF ( transfertodo ) %][% boremail %][% ELSE %][% boremail %][% END %][% END %]
+ [% UNLESS ( transfertodo) %]
+ [% IF ( bormessagepref ) %]
+ Patron is notified:
+ [% FOREACH key IN bormessagepref.keys %]
+ [% IF ( key == 'email' ) %] Email. [% END %]
+ [% IF ( key == 'phone' ) %] Phone. [% END %]
+ [% IF ( key == 'sms' ) %] SMS. [% END %]
+ [% END %]
+
+ [% ELSE %]
+ Patron is not notified
+ [% END %]
+ [% END %]
[% IF ( debarred ) %]Patron is RESTRICTED[% END %]
[% IF ( gonenoaddress ) %]Patron's address is in doubt[% END %]
--