* transasctions - a list of transactions, each of which
contains:
- xact.summary - information about the transaction
- xact.title - Copy title
+ current_location.name - Current location's name
+ current_location.shortname - Current location's shortname
+ today - Today's date and time
+ xact.id - Bill unique id
xact.copy_barcode - Copy barcode
+ xact.xact_finish - Billing finish date and time
+ xact.xact_start - Billing start date and time
+ xact.summary - Information about the transaction
+ xact.summary.balance_owed - Balance owed
+ xact.summary.last_billing_note - Last billing note
+ xact.summary.last_billing_type - Last billing type
+ xact.summary.last_payment_note - Last payment note
+ xact.summary.last_payment_ts - Last payment date and time
+ xact.summary.last_payment_type - Last payment type
+ xact.summary.total_owed - Total billed
+ xact.summary.total_paid - Total paid
+ xact.summary.xact_type - Billing type
+ xact.title - Copy title
-->
Welcome to {{current_location.name}}!<br/>
<dd>
<table>
<tr valign="top">
- <td>[% l('Date:') %]</td>
+ <td>[% l('Billing Date:') %]</td>
<td>{{xact.xact_start | date:$root.egDateAndTimeFormat}}</td>
</tr>
<tr valign="top">
<tr valign="top">
<td>[% l('Last Payment') %]:</td>
<td>{{xact.summary.last_payment_type}}<br/>
- {{xact.summary.last_payment_note}}
+ {{xact.summary.last_payment_note}}<br/>
+ {{xact.summary.last_payment_ts | date:$root.egDateAndTimeFormat}}
</td>
</tr>
<tr valign="top">
{
id : 1,
xact_start : new Date().toISOString(),
+ xact_finish : new Date().toISOString(),
summary : {
xact_type : 'circulation',
last_billing_type : 'Overdue materials',
total_owed : 1.50,
last_payment_note : 'Test Note 1',
last_payment_type : 'cash_payment',
+ last_payment_ts : new Date().toISOString(),
total_paid : 0.50,
balance_owed : 1.00
}
}, {
id : 2,
xact_start : new Date().toISOString(),
+ xact_finish : new Date().toISOString(),
summary : {
xact_type : 'circulation',
last_billing_type : 'Overdue materials',
total_owed : 2.50,
last_payment_note : 'Test Note 2',
last_payment_type : 'credit_payment',
+ last_payment_ts : new Date().toISOString(),
total_paid : 0.50,
balance_owed : 2.00
}