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
30 * checkout.circ.due_date
31 * checkout.circ.renewal_remaining
32 * checkout.copy.barcode
33 * checkout.copy.circ_modifier
34 * checkout.copy.call_number.label
35 * checkout.copy.call_number.owning_lib.name
36 * checkout.copy.call_number.owning_lib.shortname
40 <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
41 <div>[% l('You checked out the following items:') %]</div>
44 <li ng-repeat="checkout in circulations">
45 <div>{{checkout.title}}</div>
46 <div>[% l('Barcode: [_1] Due: [_2]',
47 '{{checkout.copy.barcode}}',
48 '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]</div>
52 <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
53 <div>[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]</div>