]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_hold_transit_slip.tt2
8aecd85802f26abc4710c2980b549a1e6ec2d938
[Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_hold_transit_slip.tt2
1 <!--
2 Template for printing hold transit slips. Fields include:
3
4 * dest_location.name - name of destination library
5 * dest_location.shortname
6 * dest_address.street1
7 * dest_address.street2
8 * dest_address.city
9 * dest_address.state
10 * dest_address.post_code
11 * dest_courier_code - from lib.courier_code library setting
12 * hold.behind_desk
13 * copy.barcode
14 * title
15 * patron.family_name
16 * patron.first_given_name
17 * patron.second_given_name
18 * patron.card.barcode
19 * hold.request_time
20 * hold.phone_notify
21 * hold.sms_notify
22 * hold.email_notify
23
24 -->
25 <div>
26   <div>[% l('This item needs to be routed to [_1]', '<b>{{dest_location.shortname}}</b>') %]</div>
27   <div>{{dest_location.name}}</div>
28   <div ng-if="dest_address">
29     <div>{{dest_address.street1}}</div>
30     <div>{{dest_address.street2}}</div>
31     <div>{{dest_address.city}},
32         {{dest_address.state}}
33         {{dest_address.post_code}}</div>
34   </div>
35   <div ng-if="!dest_address">
36     [% l('We do not have a holds address for this library.') %]
37   </div>
38   <br/>
39
40   [% l('Barcode: [_1]', '{{copy.barcode}}') %]</div>
41   [% l('Title: [_1]', '{{title}}') %]</div>
42   [% l('Author: [_1]', '{{author}}') %]</div>
43
44   <br/>
45
46   <div>[% l('Hold for patron [_1], [_2] [_3]',
47     '{{patron.family_name}}',
48     '{{patron.first_given_name}}',
49     '{{patron.second_given_name}}') %]</div>
50   <div>[% l('Barcode: [_1]', '{{patron.card.barcode}}') %]</div>
51   <div ng-if="hold.phone_notify">[% l('Notify by phone: [_1]', '{{hold.phone_notify}}') %]</div>
52   <div ng-if="hold.sms_notify">[% l('Notify by text: [_1]', '{{hold.sms_notify}}') %]</div>
53   <div ng-if="hold.email_notify == 't'">[% l('Notify by email: [_1]', '{{patron.email}}') %]</div>
54
55   <br/>
56
57   <div>[% l('Request Date: [_1]', 
58     '{{hold.request_time | date:$root.egDateAndTimeFormat}}') %]</div>
59   <div>[% l('Slip Date: [_1]', '{{today | date:$root.egDateAndTimeFormat}}') %]</div>
60   <div>[% l('Printed by [_1] at [_2]', 
61     '{{staff.first_given_name}}', '{{current_location.shortname}}') %]</div>
62
63 </div>