From 10e77568568baef8b09cab6bce6b799d8211be31 Mon Sep 17 00:00:00 2001 From: blake <blake@mobiusconsortium.org> 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 <blake@mobiusconsortium.org> Signed-off-by: Dan Pearl <dpearl@cwmars.org> Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org> --- .../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: <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/> 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 <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' }, -- 2.11.0