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