]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_hold_pull_list.tt2
8be65d441657aa5dbca65d3e5c3ef6717ea9ab26
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_hold_pull_list.tt2
1 <!--
2 Template for printing a table of holds to pull. Fields include:
3
4 * holds - list of holds, each of which includes:
5
6   * title
7   * author
8   * hold.hold_type
9   * copy.location_name
10   * volume.label - call number
11   * copy.barcode
12 -->
13 <table id='pull-list-template-table'>
14   <style>
15     #pull-list-template-table td,
16     #pull-list-template-table th {
17       padding: 5px;
18       border: 1px solid #000;
19     }
20   </style>
21   <thead>
22     <tr>
23       <th>[% l('Type') %]</th>
24       <th>[% l('Title') %]</th>
25       <th>[% l('Author') %]</th>
26       <th>[% l('Shelf Location') %]</th>
27       <th>[% l('Call Number') %]</th>
28       <th>[% l('Barcode/Part') %]</th>
29     </tr>
30   </thead>
31   <tbody>
32     <tr ng-repeat="hold_data in holds | orderBy : ['hold._copy_location_position', 'volume.label']">
33       <td>{{hold_data.hold.hold_type}}</td>
34       <td>{{hold_data.title}}</td>
35       <td>{{hold_data.author}}</td>
36       <td>{{hold_data.copy.location.name}}</td>
37       <td>{{hold_data.volume.label}}</td>
38       <td>{{hold_data.copy.barcode}} {{hold_data.part.label}}</td>
39     </tr>
40   </tbody>
41 </table>