2 Template for printing transits. Data specific to this template
5 transits - list; each entry contains:
8 * dest (library, keys include shortname)
11 * source (library, keys include shortname)
12 * target_copy (copy, keys include barcode)
13 * target_copy.call_number.record.simple_record.title
16 <div>[% l('Transits:') %]</div>
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:'short'}}",
24 '{{transit.target_copy.barcode}}',
25 '{{transit.target_copy.call_number.record.simple_record.title}}') %]</div>
29 <div>{{current_location.shortname}} {{today | date:'short'}}</div>