webstaff: add print template and action for in-house uses list
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_in_house_use_list.tt2
1 <!--
2 Template for printing in-house uses. Data specific to this template
3 includes:
4
5 in_house_uses - list; each entry contains:
6
7   * num_uses - number of uses
8   * copy - data for a copy, including the following keys:
9
10               barcode : barcode
11               location.name : shelving location
12               call_number.label : call number
13
14   * title - copy title
15 -->
16 <div>
17   <div>[% l('You marked the following in-house items used:') %]</div>
18   <hr/>
19   <ol>
20     <li ng-repeat="ihu in in_house_uses">
21       <div>[% l('Barcode: [_1] Uses: [_2]',
22         '{{ihu.copy.barcode}}',
23         '{{ihu.num_uses}}') %]</div>
24     </li>
25   </ol>
26   <hr/>
27   <div>{{current_location.shortname}} {{today | date:'short'}}</div>
28 <br/>