]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/acq/invoice/receive.tt2
I18N: Make everything in tt2 files translatable.
[working/Evergreen.git] / Open-ILS / src / templates / acq / invoice / receive.tt2
1 [% WRAPPER "base.tt2" %]
2 [% ctx.page_title = l("Acquisitions Invoice Receiving") %]
3 <script type="text/javascript">var inv_id = "[% ctx.page_args.0 %]";</script>
4 <script type="text/javascript"
5     src="[% ctx.media_prefix %]/js/ui/default/acq/invoice/receive.js"></script>
6 <style type="text/css">
7     #copy_table thead tr th {
8         font-weight: bold;
9         font-size: 110%;
10         text-align: left;
11         background-color: #e2e2e2;
12     }
13     #copy_table tbody { margin: 1ex; }
14     #copy_table tbody tr { background-color: #aaa; }
15     #copy_table tbody tr.copy-row { background-color: #ccc; }
16     #copy_table tbody tr.copy-row:nth-child(odd) { background-color: #ddd; }
17     #copy_table tbody tr.copy-row td { padding: 2px; }
18     .receive-button { margin: 1ex 0; }
19     .spinner-cell { padding: 1ex; background-color: #ddd; }
20 </style>
21 <div>
22     <p><big>[% ctx.page_title %]</big></p>
23     <p><strong id="inv-header"></strong></p>
24     <p id="inv-copy-count-info"></p>
25     <div id="non-empty">
26         <p>[% l('The remaining are listed below.') %]</p>
27         <p>
28             <span id="set-list-mode">[ <a id="set-list-mode-link" href="javascript:void(0);">[% l('Use List Mode') %]</a> ]</span>
29             <span id="set-number-mode">[ <a id="set-number-mode-link" href="javascript:void(0);">[% l('Use Numeric Mode') %]</a> ]</span>
30         </p>
31         <div class="receive-button">
32             <button onclick="copy_table.receive_selected();">[% l('Receive Selected Copies') %]</button>
33         </div>
34         <table id="copy_table" width="100%">
35             <thead id="list-mode-headings">
36                 <tr>
37                     <th>
38                         <input type="checkbox" checked="checked" id="select_all"
39                             /><label for="select_all">[% l(' Select All') %]</label>
40                     </th>
41                     <th>[% l('Owning Branch') %]</th>
42                     <th>[% l('Shelving Location') %]</th>
43                     <th>[% l('Collection Code') %]</th>
44                     <th>[% l('Fund') %]</th>
45                     <th>[% l('Circ Modifier') %]</th>
46                     <th>[% l('Callnumber') %]</th>
47                     <th>[% l('Barcode') %]</th>
48                 </tr>
49             </thead>
50             <tbody id="rows-here">
51             </tbody>
52         </table>
53         <div class="receive-button">
54             <button onclick="copy_table.receive_selected();">[% l('Receive Selected Copies') %]</button>
55         </div>
56     </div>
57     <div class="hidden" id="empty">
58         [% l('This invoice has no more copies to receive.') %]
59     </div>
60     <p>
61         <button onclick="copy_table.back_to_invoice();">[% l('Return to Invoice') %]</button>
62     </p>
63     <div class="hidden">
64         <div dojoType="openils.widget.ProgressDialog" jsId="progress_dialog"></div>
65     </div>
66 </div>
67 [% END %]