2 Template for printing a list of items that a patron has checked out.
5 * patron - has several fields from the patron object, including a financial summary
11 * pref_ versions of all name fields (e.g. pref_family_name);
13 * money_summary.balance_owed - current balance
14 * money_summary.total_paid - payments made on outstanding fines/fees
15 * money_summary.total_owed - total of outstanding fines/fees
17 * alias - aka Holds Alias
18 * has_email - boolean value to show/hide elements on the receipt
19 * has_phone - same as has_email
21 * circulations - list of current loans, including for each checkout
25 * checkout.circ.due_date
26 * checkout.circ.renewal_remaining
27 * checkout.copy.barcode
28 * checkout.copy.circ_modifier.name
29 * checkout.copy.call_number.label
30 * checkout.copy.call_number.owning_lib.name
31 * checkout.copy.call_number.owning_lib.shortname
32 * checkout.copy.location.name - Shelving location
36 <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
37 <div>[% l('You have the following items:') %]</div>
40 <li ng-repeat="checkout in circulations">
41 <div>{{checkout.title}}</div>
42 <div>[% l('Barcode: [_1] Due: [_2]',
43 '{{checkout.copy.barcode}}',
44 '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]</div>
48 <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
49 <div>[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]</div>