LP1735847: Remove patron info from default Hold Transit Slip master
authorblake <blake@mobiusconsortium.org>
Fri, 1 Dec 2017 22:32:22 +0000 (16:32 -0600)
committerJason Boyer <jboyer@equinoxinitiative.org>
Tue, 10 Sep 2019 16:54:17 +0000 (12:54 -0400)
Removes most patron information from the Hold Transit Slip
in both the web and XUL client default definitions.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2
Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js

index 8aecd85..8345af0 100644 (file)
@@ -43,14 +43,7 @@ Template for printing hold transit slips. Fields include:
 
   <br/>
 
-  <div>[% l('Hold for patron [_1], [_2] [_3]',
-    '{{patron.family_name}}',
-    '{{patron.first_given_name}}',
-    '{{patron.second_given_name}}') %]</div>
-  <div>[% l('Barcode: [_1]', '{{patron.card.barcode}}') %]</div>
-  <div ng-if="hold.phone_notify">[% l('Notify by phone: [_1]', '{{hold.phone_notify}}') %]</div>
-  <div ng-if="hold.sms_notify">[% l('Notify by text: [_1]', '{{hold.sms_notify}}') %]</div>
-  <div ng-if="hold.email_notify == 't'">[% l('Notify by email: [_1]', '{{patron.email}}') %]</div>
+  <div>[% l('Hold for patron [_1]', '{{patron.card.barcode}}') %]</div>
 
   <br/>
 
index 0295318..fe1d7a1 100644 (file)
@@ -466,7 +466,7 @@ OpenILS.data.prototype = {
                 },
                 'hold_transit_slip' : {
                     'type' : 'transits',
-                    'header' : 'This item needs to be routed to <b>%route_to%</b>:<br/>\r\n%route_to_org_fullname%<br/>\r\n%street1%<br/>\r\n%street2%<br/>\r\n%city_state_zip%<br/>\r\n<br/>\r\nBarcode: %item_barcode%<br/>\r\nTitle: %item_title%<br/>\r\nAuthor: %item_author%<br>\r\n<br/>\r\n%hold_for_msg%<br/>\r\nBarcode: %PATRON_BARCODE%<br/>\r\nNotify by phone: %notify_by_phone%<br/>\r\nNotified by text: %notify_by_text%<br/>\r\nNotified by email: %notify_by_email%<br/>\r\n',
+                    'header' : 'This item needs to be routed to <b>%route_to%</b>:<br/>\r\n%route_to_org_fullname%<br/>\r\n%street1%<br/>\r\n%street2%<br/>\r\n%city_state_zip%<br/>\r\n<br/>\r\nBarcode: %item_barcode%<br/>\r\nTitle: %item_title%<br/>\r\nAuthor: %item_author%<br>\r\n<br/>\r\nBarcode: %PATRON_BARCODE%<br/>\r\n',
                     'line_item' : '%formatted_note%<br/>\r\n',
                     'footer' : '<br/>\r\nRequest date: %request_date%<br/>\r\nSlip Date: %TODAY_TRIM%<br/>\r\nPrinted by %STAFF_FIRSTNAME% at %SHORTNAME%<br/>\r\n<br/>\r\n'
                 },