2 Template for printing checkout receipts; fields available include:
4 * patron - has several fields from the patron object, including a financial summary
12 * pref_first_given_name
13 * pref_second_given_name
17 * money_summary.balance_owed - current balance
18 * money_summary.total_paid - payments made on outstanding fines/fees
19 * money_summary.total_owed - total of outstanding fines/fees
21 * alias - aka Holds Alias
22 * has_email - boolean value to show/hide elements on the receipt
23 * has_phone - same as has_email
25 * circulations - list of loans made during this session. Each
35 <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
36 <div>[% l('You checked out the following items:') %]</div>
39 <li ng-repeat="checkout in circulations">
40 <div>{{checkout.title}}</div>
41 <div>[% l('Barcode: [_1] Due: [_2]',
42 '{{checkout.copy.barcode}}',
43 '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]</div>
47 <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
48 <div>[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]</div>