From 88349029f814906ce204bbb8af212d78f5c0d3d9 Mon Sep 17 00:00:00 2001 From: Steven Callender Date: Thu, 12 Dec 2013 14:22:19 -0500 Subject: [PATCH] Add more phone numbers to the phone autopopulate box. When a patron places a hold, currently the default phone number from the user settings is used. If that doesn't exist, it falls back on the day phone. This will also add on the evening phone, and other phone respectively if there is no default setting or day phone on the account. Signed-off-by: Steven Callender --- Open-ILS/src/templates/opac/parts/place_hold.tt2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2 index f12cd56b13..2811629f77 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold.tt2 @@ -93,7 +93,9 @@
+ [%- ELSIF ctx.user.day_phone; %] value='[% ctx.user.day_phone | html %]' + [%- ELSIF ctx.user.evening_phone; %] value='[% ctx.user.evening_phone | html %]' + [%- ELSIF ctx.user.other_phone; %] value='[% ctx.user.other_phone | html %]' [% END %]/>
[%- END -%] [% IF ctx.get_org_setting(ctx.search_ou, 'sms.enable') == 1 %] -- 2.11.0