]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_transit_list.tt2
LP 1772053: Cleanup Dan's code.
[Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_transit_list.tt2
1 <!--
2 Template for printing transits. Data specific to this template
3 includes:
4
5 transits - list; each entry contains:
6
7   * copy_status
8   * dest (library, keys include shortname)
9   * source_send_time
10   * id
11   * source (library, keys include shortname)
12   * target_copy (copy, keys include barcode)
13   * target_copy.call_number.record.simple_record.title
14 -->
15 <div>
16   <div>[% l('Transits:') %]</div>
17   <hr/>
18   <ol>
19     <li ng-repeat="transit in transits">
20       <div>[% l('From: [_1] To: [_2] <br> When: [_3] <br> Barcode: [_4] Title: [_5]',
21         '{{transit.source.shortname}}',
22         '{{transit.dest.shortname}}',
23         '{{transit.source_send_time | date:$root.egDateAndTimeFormat}}',
24         '{{transit.target_copy.barcode}}',
25         '{{transit.target_copy.call_number.record.simple_record.title}}') %]</div>
26     </li>
27   </ol>
28   <hr/>
29   <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
30 <br/>