1 <script src='[% ctx.media_prefix %]/js/ui/default/acq/common/li_table.js'> </script>
2 <div id='acq-lit-table-container'>
3 <div id='acq-lit-table-div' class='hidden'>
5 <!-- Lineitem (bib record) list -->
6 <table id='acq-lit-table' class='oils-generic-table'>
10 <table style='width:100%;'>
14 <select dojoType='dijit.form.FilteringSelect' value='_' jsId='acqLitLiActionsSelector'>
15 <option mask='*' value='_'>--Actions--</option>
16 <option mask='sr' value='save_picklist'>Save Items To Selection List</option>
17 <option mask='pl' value='selector_ready'>Mark Ready for Selector</option>
18 <option mask='pl' value='order_ready'>Mark Ready for Order</option>
19 <option mask='*' value='delete_selected'>Delete Selected Items</option>
20 <option mask='*' value='add_brief_record'>Add Brief Record</option>
21 <option mask='*' value='export_attr_list'>Export Single Attribute List</option>
22 <option mask='po' value='' disabled='disabled'>----PO----</option>
23 <option mask='sr|pl' value='create_order'>Create Purchase Order</option>
24 <option mask='po' value='create_assets'>Load Bibs and Items</option>
25 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
26 <option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
27 <option mask='po' value='print_po'>Print Purchase Order</option>
29 <span id="acq-lit-export-attr-holder" class="hidden">
30 <input dojoType="dijit.form.FilteringSelect" id="acq-lit-export-attr" jsId="acqLitExportAttrSelector" labelAttr="description" searchAttr="description" />
31 <span dojoType="dijit.form.Button" jsId="acqLitExportAttrButton">Export List</span>
34 <span id='acq-lit-generic-progress' class='hidden'>
35 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
39 <div style='width:100%;text-align:right;'>
40 <span style='padding-right:15px;'>
41 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
42 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
51 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
52 <tbody style='font-weight:bold;border:1px solid #aaa;'>
54 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
64 <tbody id='acq-lit-tbody'>
65 <tr id='acq-lit-row' class='acq-lit-row'>
66 <td name='selector'><input type='checkbox' name='selectbox'/></td>
67 <td style='width:75%;'>
68 <table style='width:100%;'>
71 <td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
72 <td style='width:70%;font-weight:bold;'>
73 <a attr='title' href='javascript:void(0);'></a>
74 <span name='pl' class='hidden'>(<a name='pl_link' href='javascript:void(0);'></a>)</span>
75 <span name='po' class='hidden'>(<a name='po_link' href='javascript:void(0);'>PO</a>)</span>
77 <td rowspan='2' style='text-align:right'>
80 <tr class='acq-lit-alt-row'>
82 <span attr='author'></span>
83 <span attr='isbn'></span>
84 <span attr='issn'></span>
85 <span attr='edition'></span>
86 <span attr='pubdate'></span>
87 <span attr='publisher'></span>
88 <span name='source_label'></span>
94 <td><a class='hidden' name='real_copies_link' href='javascript:void(0);'>Update Barcodes</a></td>
95 <td><a class='hidden' name='holdings_maintenance_link' href='javascript:void(0);'>Holdings Maintenance</a></td>
96 <td><a name='receive_link' href='javascript:void(0);'>Mark Received</a><a name='unreceive_link' href='javascript:void(0);'>Un-Receive</a></td>
98 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
100 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
102 <td><span name='li_state'></span></td>
103 <td><input type='text' size='8' name='price'/></td>
109 <!-- Bib record / Lineitem details table -->
110 [% INCLUDE "default/acq/common/detail.tt2" which = "Lit" %]
112 <!-- Lineitem notes table -->
113 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
115 <!-- Copies table -->
116 <div id='acq-lit-li-details' class='hidden'>
119 <div class='acq-lit-li-menu-bar'>
120 <table style='width:100%'>
122 <td class="acq-lit-li-menu-left">
123 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
124 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
126 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
127 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
128 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
131 <td class="acq-lit-li-menu-right">
133 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
135 <span id='acq-lit-update-copies-progress' class='hidden'>
136 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
143 <table id='acq-lit-li-details-table'>
144 <tbody style='background-color:#ddd;'>
145 <tr id='acq-lit-li-details-batch-row'>
146 <td><div name='owning_lib'/></td>
147 <td><div name='location'/></td>
148 <td><div name='collection_code'/></td>
149 <td><div name='fund'/></td>
150 <td><div name='circ_modifier'/></td>
151 <td><div name='cn_label'/></td>
152 <td colspan='3' style='text-align:left;'>
153 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
158 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
160 <tbody id='acq-lit-distrib-formula-tbody'>
161 <tr id='acq-lit-distrib-form-row'>
163 <span>Distribution Formulas</span>
164 <div name='selector'></div>
165 <div name='set_button'></div>
166 <div name="reset_button"></div>
171 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
172 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
174 <td colspan="5" id="acq-lit-distrib-applied-heading">
175 Distribution formulas applied to this lineitem:
178 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
180 <td colspan="4"></td>
184 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
185 <tbody style='font-weight:bold;'>
187 <td style='margin-top:30px;'>Owning Branch</td>
188 <td>Shelving Location</td>
189 <td>Collection Code</td>
191 <td>Circ Modifier</td>
198 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
199 <tr id='acq-lit-li-details-row'>
200 <td><div name='owning_lib'/></td>
201 <td><div name='location'/></td>
202 <td><div name='collection_code'/></td>
203 <td><div name='fund'/></td>
204 <td><div name='circ_modifier'/></td>
205 <td><div name='cn_label'/></td>
206 <td><div name='barcode'/></td>
207 <td><div name='note'/></td>
208 <td><a href='javascript:void(0);' name='receive'>Mark Received</a><a href='javascript:void(0);' name='unreceive'>Un-Receive</a></td>
209 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
216 <!-- Copies table -->
217 <div id='acq-lit-real-copies-div' class='hidden'>
220 <div class='acq-lit-li-menu-bar'>
221 <table style='width:100%'>
223 <td style='text-align:left;'>
224 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
226 <td style='text-align:right;'>
228 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
235 <table id='acq-lit-real-copies-table'>
236 <tbody style='font-weight:bold;'>
238 <td style='margin-top:30px;'>Owning Branch</td>
239 <td>Shelving Location</td>
240 <td>Circ Modifier</td>
246 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
247 <tr id='acq-lit-real-copies-row'>
248 <td><div name='owning_lib'/></td>
249 <td><div name='location'/></td>
250 <td><div name='circ_modifier'/></td>
251 <td><div name='label'/></td>
252 <td><div name='barcode'/></td>
258 <div class='hidden' id='acq-lit-progress-numbers'>
259 <table class='oils-generic-table'>
262 <td>Lineitems Processed</td>
263 <td><span id='acq-pl-lit-li-processed'>0</span></td>
266 <td>Items Processed</td>
267 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
270 <td>Debits Encumbered</td>
271 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
274 <td>Bib Records Imported</td>
275 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
278 <td>Bib Records Indexed</td>
279 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
282 <td>Copies Processed</td>
283 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
290 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
291 <table class='oils-generic-table'>
293 <td>Ordering Agency</td>
294 <td><div name='ordering_agency' id='acq-lit-po-agency'/></td>
298 <td><div name='provider' id='acq-lit-po-provider'/></td>
301 <td>All Lineitems</td>
302 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
305 <td>Selected Lineitems</td>
306 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
309 <td>Import Bibs and Create Copies</td>
310 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
314 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
321 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
322 <table class='dijitTooltipTable'>
325 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
326 <label for="name">Save selected</label>
327 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
328 <label for="name">Save all</label>
331 <tr><td colspan='2'><hr/></td></tr>
333 <td><label for="new_name">Save as Selection List: </label></td>
334 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
337 <td><label for="existing_pl">Add to Selection List: </label></td>
339 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
340 name="existing_pl" searchAttr='name' displayAttr='name'/>
344 <td colspan='2' align='center'>
345 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
351 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
352 <table class='dijitTooltipTable'>
355 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
356 <label for="name">Mark selected</label>
357 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
358 <label for="name">Mark all</label>
362 <td colspan='2' align='center'>
363 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
364 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
372 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>