From 10e77568568baef8b09cab6bce6b799d8211be31 Mon Sep 17 00:00:00 2001 From: blake Date: Fri, 1 Dec 2017 16:32:22 -0600 Subject: [PATCH] LP1735847: Remove patron info from default Hold Transit Slip Removes most patron information from the Hold Transit Slip in both the web and XUL client default definitions. Signed-off-by: blake Signed-off-by: Dan Pearl Signed-off-by: Jason Boyer --- .../staff/share/print_templates/t_hold_transit_slip.tt2 | 9 +-------- Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2 index 8aecd85802..8345af0fce 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2 @@ -43,14 +43,7 @@ Template for printing hold transit slips. Fields include:
-
[% l('Hold for patron [_1], [_2] [_3]', - '{{patron.family_name}}', - '{{patron.first_given_name}}', - '{{patron.second_given_name}}') %]
-
[% l('Barcode: [_1]', '{{patron.card.barcode}}') %]
-
[% l('Notify by phone: [_1]', '{{hold.phone_notify}}') %]
-
[% l('Notify by text: [_1]', '{{hold.sms_notify}}') %]
-
[% l('Notify by email: [_1]', '{{patron.email}}') %]
+
[% l('Hold for patron [_1]', '{{patron.card.barcode}}') %]

diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js index 029531818a..fe1d7a1e27 100644 --- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js +++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js @@ -466,7 +466,7 @@ OpenILS.data.prototype = { }, 'hold_transit_slip' : { 'type' : 'transits', - 'header' : 'This item needs to be routed to %route_to%:
\r\n%route_to_org_fullname%
\r\n%street1%
\r\n%street2%
\r\n%city_state_zip%
\r\n
\r\nBarcode: %item_barcode%
\r\nTitle: %item_title%
\r\nAuthor: %item_author%
\r\n
\r\n%hold_for_msg%
\r\nBarcode: %PATRON_BARCODE%
\r\nNotify by phone: %notify_by_phone%
\r\nNotified by text: %notify_by_text%
\r\nNotified by email: %notify_by_email%
\r\n', + 'header' : 'This item needs to be routed to %route_to%:
\r\n%route_to_org_fullname%
\r\n%street1%
\r\n%street2%
\r\n%city_state_zip%
\r\n
\r\nBarcode: %item_barcode%
\r\nTitle: %item_title%
\r\nAuthor: %item_author%
\r\n
\r\nBarcode: %PATRON_BARCODE%
\r\n', 'line_item' : '%formatted_note%
\r\n', 'footer' : '
\r\nRequest date: %request_date%
\r\nSlip Date: %TODAY_TRIM%
\r\nPrinted by %STAFF_FIRSTNAME% at %SHORTNAME%
\r\n
\r\n' }, -- 2.43.2