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