9d49e15c733f740ac96edcad79971d0e04b83a8d
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_items_out.tt2
1 <!--
2 Template for printing a list of items that a patron has checked out.
3 Fields include:
4
5 * circulations - list of current loans, including
6
7   * copy.barcode
8   * circ.due_date
9   * title
10
11 -->
12 <div>
13   <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
14   <div>[% l('You have the following items:') %]</div>
15   <hr/>
16   <ol>
17     <li ng-repeat="checkout in circulations">
18       <div>{{checkout.title}}</div>
19       <div>[% l('Barcode: [_1] Due: [_2]', 
20         '{{checkout.copy.barcode}}',
21         '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]</div>
22     </li>
23   </ol>
24   <hr/>
25   <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
26   <div>[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]</div>
27 <br/>
28