]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2
6b445b9de7d9631e629ffaa99fc98b1d56aa918e
[working/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 * patron_money - summary of the patron's current financial obligations:
5
6   * patron_money.balance_owed - current balance
7   * patron_money.total_paid - payments made on outstanding fines/fees
8   * patron_money.total_owed - total of outstanding fines/fees
9
10 * circulations - list of loans made during this session. Each
11   includes:
12
13   * title
14   * copy_barcode
15   * due_date
16
17 -->
18 <div>
19   <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
20   <div>[% l('You checked out the following items:') %]</div>
21   <hr/>
22   <ol>
23     <li ng-repeat="checkout in circulations">
24       <div>{{checkout.title}}</div>
25       <div>[% l('Barcode: [_1] Due: [_2]', 
26         '{{checkout.copy.barcode}}',
27         '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]</div>
28     </li>
29   </ol>
30   <hr/>
31   <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
32   <div>[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]</div>
33 <br/>
34