]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2
LP#1708488 Checkout Print Template Balance Owed
[Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_checkout.tt2
1 <!--
2 Template for printing checkout receipts; fields available include:
3
4 * circulations - list of loans made during this session. Each
5   includes:
6
7   * title
8   * copy_barcode
9   * due_date
10   * patron_money.balance_owed - must be grabbed from a specific circulation, e.g. circulations[0].patron_money.balance_owed
11
12 -->
13 <div>
14   <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
15   <div>[% l('You checked out the following items:') %]</div>
16   <hr/>
17   <ol>
18     <li ng-repeat="checkout in circulations">
19       <div>{{checkout.title}}</div>
20       <div>[% l('Barcode: [_1] Due: [_2]', 
21         '{{checkout.copy.barcode}}',
22         '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]</div>
23     </li>
24   </ol>
25   <hr/>
26   <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
27   <div>[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]</div>
28 <br/>
29