From 692b455eb823b2d778e10caeb2ba0c4c6f5900f6 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Wed, 23 May 2018 19:47:56 -0400 Subject: [PATCH] LP#1745240: Hold Alias Missing from Hold Shelf Slip A patron's hold alias can be printed in the hold shelf slip using the variable patron.alias. This patch just adds 'patron.alias' to the list of available options displayed at the top of the template. Also adds a colon before the patron's name fields for consistency. Signed-off-by: Garry Collum --- .../src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 index ea9503d5a4..c85ce9d325 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2 @@ -5,6 +5,7 @@ Template for printing hold request slips. Fields include: * hold.behind_desk * copy.barcode * title +* patron.alias * patron.family_name * patron.first_given_name * patron.second_given_name @@ -37,7 +38,7 @@ Template for printing hold request slips. Fields include:

-
[% l('Hold for patron [_1], [_2] [_3]', +
[% l('Hold for patron: [_1], [_2] [_3]', '{{patron.family_name}}', '{{patron.first_given_name}}', '{{patron.second_given_name}}') %]
-- 2.11.0