LP#1745240: Hold Alias Missing from Hold Shelf Slip
authorGarry Collum <gcollum@gmail.com>
Wed, 23 May 2018 23:47:56 +0000 (19:47 -0400)
committerJason Stephenson <jason@sigio.com>
Thu, 24 May 2018 19:05:50 +0000 (15:05 -0400)
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 <gcollum@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>

Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2

index ea9503d..c85ce9d 100644 (file)
@@ -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:
   <br/>
   <br/>
 
-  <div>[% l('Hold for patron [_1], [_2] [_3]',
+  <div>[% l('Hold for patron: [_1], [_2] [_3]',
     '{{patron.family_name}}',
     '{{patron.first_given_name}}',
     '{{patron.second_given_name}}') %]</div>