]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_hold_pull_list.tt2
LP 1749502: Add Call Number Prefix & Suffix to pull list print template.
[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 Prefix') %]</th>
28       <th>[% l('Call Number') %]</th>
29       <th>[% l('Call Number Suffix') %]</th>
30       <th>[% l('Barcode/Part') %]</th>
31     </tr>
32   </thead>
33   <tbody>
34     <tr ng-repeat="hold_data in holds | orderBy : ['hold._copy_location_position', 'volume.prefix', 'volume.label', 'volume.suffix']">
35       <td>{{hold_data.hold.hold_type}}</td>
36       <td>{{hold_data.title}}</td>
37       <td>{{hold_data.author}}</td>
38       <td>{{hold_data.copy.location.name}}</td>
39       <td>{{hold_data.volume.prefix}}</td>
40       <td>{{hold_data.volume.label}}</td>
41       <td>{{hold_data.volume.suffix}}</td>
42       <td>{{hold_data.copy.barcode}} {{hold_data.part.label}}</td>
43     </tr>
44   </tbody>
45 </table>