]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_offline_checkout.tt2
LP#1806783 Offline: Non-cataloged item receipt printing
[Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_offline_checkout.tt2
1 <!--
2 Template for printing offline checkout receipts; fields available include:
3
4 * transactions - list of loans made during this session. Each
5   includes:
6
7   * barcode
8   * patron_barcode
9   * due_date
10   * noncat_count
11
12 -->
13 <div>
14   <div>[% l('Patron [_1]', '{{transactions[0].patron_barcode}}') %]</div>
15   <div>[% l('You checked out the following [_1] items:', '{{transactions.length}}') %]</div>
16   <hr/>
17   <ol>
18     <li ng-repeat="checkout in transactions">
19       <div ng-if="checkout.barcode">[% l('Barcode:') %] {{checkout.barcode}}</div>
20       <div ng-if="!checkout.barcode">[% l('Non-cataloged Item') %] ({{checkout.noncat_count}})</div>
21       <div>[% l('Due Date:') %] {{checkout.due_date | date:"short"}}</div>
22     </li>
23   </ol>
24   <hr/>
25   <div>{{today | date:'short'}}</div>
26 <br/>
27