225fbb4ac1619af4334be4fb7846ea0d8f8e56d5
[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 * patron - has several fields from the patron object, including a financial summary
6
7   * first_given_name
8   * second_given_name
9   * family_name
10   * suffix
11   * card.barcode
12   * money_summary.balance_owed - current balance
13   * money_summary.total_paid - payments made on outstanding fines/fees
14   * money_summary.total_owed - total of outstanding fines/fees
15   * expire_date
16   * alias - aka Holds Alias
17   * has_email - boolean value to show/hide elements on the receipt
18   * has_phone - same as has_email
19
20 * circulations - list of current loans, including
21
22   * title
23   * author
24   * call_number.label
25   * copy.barcode
26   * circ.due_date
27
28 -->
29 <div>
30   <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
31   <div>[% l('You have the following items:') %]</div>
32   <hr/>
33   <ol>
34     <li ng-repeat="checkout in circulations">
35       <div>{{checkout.title}}</div>
36       <div>[% l('Barcode: [_1] Due: [_2]', 
37         '{{checkout.copy.barcode}}',
38         '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]</div>
39     </li>
40   </ol>
41   <hr/>
42   <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
43   <div>[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]</div>
44 <br/>
45