-<!--
-Template for printing offline checkout receipts; fields available include:
-
-* transactions - list of loans made during this session. Each
- includes:
-
- * barcode
- * patron_barcode
- * due_date
-
--->
-<div>
- <div>[% l('Patron [_1]', '{{transactions[0].patron_barcode}}') %]</div>
- <div>[% l('You checked out the following [_1] items:', '{{transactions.length}}') %]</div>
+ <h1 style="text-align:center;">PINES</h1>
+ <div>You checked out the following {{transactions.length}} items:</div>
<hr/>
<ol>
<li ng-repeat="checkout in transactions">
- <div>[% l('Barcode: [_1] Due: [_2]',
- '{{checkout.barcode}}',
- '{{checkout.due_date | date:"short"}}') %]</div>
+ <div ng-if="checkout.barcode">Barcode: {{checkout.barcode}}<br/>
+ Due: {{checkout.due_date | date:"M/d/yyyy"}}</div>
+ <div ng-if="!checkout.barcode">Non-cataloged Item<br/>
+ Due: {{checkout.due_date | date:"M/d/yyyy"}}</div>
</li>
</ol>
<hr/>
<div>{{today | date:'short'}}</div>
-<br/>
+ <td ng-if="hold.sms_notify" valign="top">{{hold.sms_notify}}</td>
-<!--
-Template for printing offline renew receipts; fields available include:
-
-* transactions - list of loans made during this session. Each
- includes:
-
- * barcode
- * due_date
-
--->
-<div>
- <div>[% l('You renewed the following [_1] items:', '{{transactions.length}}') %]</div>
+ <h1 style="text-align:center;">PINES</h1>
+ <div>You renewed the following {{transactions.length}} items:</div>
<hr/>
<ol>
<li ng-repeat="checkout in transactions">
- <div>[% l('Barcode: [_1] Due: [_2]',
- '{{checkout.barcode}}',
- '{{checkout.due_date | date:"short"}}') %]</div>
+ <div>Barcode: {{checkout.barcode}}<br/>
+ Due: {{checkout.due_date | date:"M/d/yyyy"}}</div>
</li>
</ol>
<hr/>
<div>{{today | date:'short'}}</div>
-<br/>