2 Template for printing a list of past bills. Data specific
3 to this template includes:
5 * transasctions - a list of transactions, each of which
8 current_location.name - Current location's name
9 current_location.shortname - Current location's shortname
10 today - Today's date and time
11 xact.id - Bill unique id
12 xact.copy_barcode - Copy barcode
13 xact.xact_finish - Billing finish date and time
14 xact.xact_start - Billing start date and time
15 xact.summary - Information about the transaction
16 xact.summary.balance_owed - Balance owed
17 xact.summary.last_billing_note - Last billing note
18 xact.summary.last_billing_type - Last billing type
19 xact.summary.last_payment_note - Last payment note
20 xact.summary.last_payment_ts - Last payment date and time
21 xact.summary.last_payment_type - Last payment type
22 xact.summary.total_owed - Total billed
23 xact.summary.total_paid - Total paid
24 xact.summary.xact_type - Billing type
25 xact.title - Copy title
28 Welcome to {{current_location.name}}!<br/>
29 You had the following bills:
32 <div ng-repeat="xact in transactions">
33 <dt><b>Bill #{{xact.id}}</b></dt>
37 <td>[% l('Billing Date:') %]</td>
38 <td>{{xact.xact_start | date:$root.egDateAndTimeFormat}}</td>
41 <td>[% l('Type') %]:</td>
42 <td>{{xact.summary.xact_type}}</td>
45 <td>[% l('Last Billing') %]:</td>
46 <td>{{xact.summary.last_billing_type}}<br/>
47 {{xact.summary.last_billing_note}}
51 <td>[% l('Total Billed') %]:</td>
52 <td>{{xact.summary.total_owed | currency}}</td>
55 <td>[% l('Last Payment') %]:</td>
56 <td>{{xact.summary.last_payment_type}}<br/>
57 {{xact.summary.last_payment_note}}<br/>
58 {{xact.summary.last_payment_ts | date:$root.egDateAndTimeFormat}}
62 <td>[% l('Total Paid') %]:</td>
63 <td>{{xact.summary.total_paid | currency}}</td>
66 <td><b>[% l('Balance') %]:</b></td>
67 <td><b>{{xact.summary.balance_owed | currency}}</b></td>
72 </div><!-- ng-repeat -->
75 {{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}