1 [% WRAPPER "base.tt2" %]
2 [% ctx.page_title = "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 {
11 background-color: #e2e2e2;
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; }
22 <p><big>[% ctx.page_title %]</big></p>
23 <p><strong id="inv-header"></strong></p>
24 <p id="inv-copy-count-info"></p>
26 <p>The remaining are listed below.</p>
28 <span id="set-list-mode">[ <a id="set-list-mode-link" href="javascript:void(0);">Use List Mode</a> ]</span>
29 <span id="set-number-mode">[ <a id="set-number-mode-link" href="javascript:void(0);">Use Numeric Mode</a> ]</span>
31 <div class="receive-button">
32 <button onclick="copy_table.receive_selected();">Receive Selected
35 <table id="copy_table" width="100%">
36 <thead id="list-mode-headings">
39 <input type="checkbox" checked="checked" id="select_all"
40 /><label for="select_all"> Select All</label>
42 <th>Owning Branch</th>
43 <th>Shelving Location</th>
44 <th>Collection Code</th>
46 <th>Circ Modifier</th>
51 <tbody id="rows-here">
54 <div class="receive-button">
55 <button onclick="copy_table.receive_selected();">Receive Selected
59 <div class="hidden" id="empty">
60 This invoice has no more copies to receive.
63 <button onclick="copy_table.back_to_invoice();">Return to Invoice</button>
66 <div dojoType="openils.widget.ProgressDialog" jsId="progress_dialog"></div>