]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_holds_for_bib.tt2
LP#1726568: expose circ lib and owning lib fields to spine/pocket labels
[Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_holds_for_bib.tt2
1 <!--
2 Template for printing a list of holds associated with a
3 bib record. Fields include:
4
5 * holds - list of holds, including
6
7   * hold.request_time
8   * patron_barcode
9   * patron_last - patron surname
10   * patron_alias - hold alias for the patorn
11   * copy.barcode
12
13 -->
14 <div>
15   <div>[% l('Holds for record: [_1]', '{{holds[0].title}}') %]</div>
16   <hr/>
17   <style>#holds-for-bib-table td { padding: 5px; }</style>
18   <table id="holds-for-bib-table">
19     <thead>
20       <tr>
21         <th>[% l('Request Date') %]</th>
22         <th>[% l('Patron Barcode') %]</th>
23         <th>[% l('Patron Last') %]</th>
24         <th>[% l('Patron Alias') %]</th>
25         <th>[% l('Current Item') %]</th>
26       </tr>
27     </thead>
28     <tbody>
29       <tr ng-repeat="hold in holds">
30         <td>{{hold.hold.request_time | date:$root.egDateAndTimeFormat}}</td>
31         <td>{{hold.patron_barcode}}</td>
32         <td>{{hold.patron_last}}</td>
33         <td>{{hold.patron_alias}}</td>
34         <td>{{hold.copy.barcode}}</td>
35       </tr>
36     </tbody>
37   </table>
38   <hr/>
39   <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
40   <div>[% l('Printed by [_1]', '{{staff.first_given_name}}') %]</div>
41 <br/>
42