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='po' value='' disabled='disabled'>----PO----</option>
21 <option mask='sr|pl' value='create_order'>Create Purchase Order</option>
22 <option mask='po' value='create_assets'>Load Bibs and Items</option>
23 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
24 <option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
25 <option mask='po' value='print_po'>Print Purchase Order</option>
28 <span id='acq-lit-generic-progress' class='hidden'>
29 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
33 <div style='width:100%;text-align:right;'>
34 <span style='padding-right:15px;'>
35 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
36 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
45 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
46 <tbody style='font-weight:bold;border:1px solid #aaa;'>
48 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
57 <tbody id='acq-lit-tbody'>
58 <tr id='acq-lit-row' class='acq-lit-row'>
59 <td name='selector'><input type='checkbox' name='selectbox'/></td>
60 <td style='width:75%;'>
61 <table style='width:100%;'>
64 <td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
65 <td style='width:70%;font-weight:bold;'><a attr='title' href='javascript:void(0);'></a></td>
66 <td rowspan='2' style='text-align:right'>
69 <tr class='acq-lit-alt-row'>
71 <span attr='author'></span>
72 <span attr='isbn'></span>
73 <span attr='issn'></span>
74 <span attr='edition'></span>
75 <span attr='pubdate'></span>
76 <span attr='publisher'></span>
77 <span name='source_label'></span>
83 <td><a class='hidden' name='real_copies_link' href='javascript:void(0);'>Update Barcodes</a></td>
84 <td><a name='receive_link' href='javascript:void(0);'>Mark Received</a></td>
85 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
87 <a name='noteslink' href='javascript:void(0);'
88 style='margin-right:15px;'>Notes(<span name='notes_count'>0</span>)</a>
90 <td><input type='text' size='8' name='price'/></td>
96 <!-- Bib record / Lineitem details table -->
97 <div id='acq-lit-info-div' class='hidden'>
98 <div class='acq-lit-li-menu-bar'>
99 <div dojoType='dijit.form.Button' id='acq-lit-info-back-button'>↖ Return</div>
102 <tbody id='acq-lit-info-tbody'>
103 <tr id='acq-lit-info-row'><td name='label'/><td name='value'/></tr>
106 <div style='margin-top:10px;' class='hidden' id='acq-lit-info-cat-link'>
107 View in the <a href='/opac/en-US/skin/default/xml/rdetail.xml?r='>Catalog</a>
109 <div style='margin-top:40px;'>
110 <h3 id='acq-lit-marc-order-record-label'>MARC Order Record</h3>
111 <h3 id='acq-lit-marc-real-record-label'>MARC ILS Record</h3>
113 <div dojoType='dijit.form.Button' jsId='acqLitEditOrderMarc' class='hidden'>Edit MARC Order Record</div>
115 <div id='acq-lit-marc-div' style='margin-top:20px;'> </div>
119 <!-- Lineitem notes table -->
120 <div id='acq-lit-notes-div' class='hidden'>
122 <div class='acq-lit-li-menu-bar'>
123 <table style='width:100%'>
125 <td style='text-align:left;'>
126 <div dojoType='dijit.form.Button' id='acq-lit-notes-back-button'>↖ Return</div>
128 <td style='text-align:right;'>
129 <div dojoType="dijit.form.DropDownButton">
130 <span>New Note</span>
131 <div dojoType="dijit.TooltipDialog">
133 <div jsId='acqLitCreateNoteText' dojoType='dijit.form.Textarea' style='height:5em; width:25em;' name='note'></div>
135 <button jsId='acqLitCreateLiNoteSubmit' dojoType='dijit.form.Button' type="submit">Create</button>
139 <div dojoType='dijit.form.Button' id='acq-lit-notes-save-button'>Save Changes</div>
145 <ol id='acq-lit-notes-tbody'>
146 <li id='acq-lit-notes-row'>
147 <table style='width:100%;' class='oils-generic-table'>
149 <td width='70%' align='left'><span style='font-size:120%' name='value'></span></td>
150 <td align='right' style='padding-right:30px;'>
151 <span name='edit_time'></span>
152 <span style='padding-left:4px;'><a name='delete' href='javascript:void(0);' style='color:red;'>Delete</a></span>
160 <!-- Copies table -->
161 <div id='acq-lit-li-details' class='hidden'>
164 <div class='acq-lit-li-menu-bar'>
165 <table style='width:100%'>
167 <td style='text-align:left;'>
168 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
169 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
171 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
172 constraints="{min:1,max:1000,places:0}" style='width:40px' value='1'></input>
173 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
176 <td style='text-align:right;'>
177 <span id='acq-lit-update-copies-progress' class='hidden'>
178 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
181 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
188 <table id='acq-lit-li-details-table'>
189 <tbody style='background-color:#ddd;'>
190 <tr id='acq-lit-li-details-batch-row'>
191 <td><div name='owning_lib'/></td>
192 <td><div name='location'/></td>
193 <td><div name='fund'/></td>
194 <td><div name='circ_modifier'/></td>
195 <td><div name='cn_label'/></td>
196 <td colspan='3' style='text-align:left;'>
197 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
204 <a href='javascript:void(0);'
205 onclick='openils.Util.toggle("acq-lit-distrib-formula-tbody");'>Distribution Formulas</a>
209 <tbody id='acq-lit-distrib-formula-tbody' class='hidden'>
210 <tr id='acq-lit-distrib-form-row'>
211 <td name='selector'/>
212 <td name='setbutton'/>
215 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
216 <tbody style='font-weight:bold;'>
218 <td style='margin-top:30px;'>Owning Branch</td>
219 <td>Shelving Location</td>
221 <td>Circ Modifier</td>
228 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
229 <tr id='acq-lit-li-details-row'>
230 <td><div name='owning_lib'/></td>
231 <td><div name='location'/></td>
232 <td><div name='fund'/></td>
233 <td><div name='circ_modifier'/></td>
234 <td><div name='cn_label'/></td>
235 <td><div name='barcode'/></td>
236 <td><div name='note'/></td>
237 <td><a href='javascript:void(0);' name='receive'>Mark Received</a></td>
238 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
245 <!-- Copies table -->
246 <div id='acq-lit-real-copies-div' class='hidden'>
249 <div class='acq-lit-li-menu-bar'>
250 <table style='width:100%'>
252 <td style='text-align:left;'>
253 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
255 <td style='text-align:right;'>
257 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
264 <table id='acq-lit-real-copies-table'>
265 <tbody style='font-weight:bold;'>
267 <td style='margin-top:30px;'>Owning Branch</td>
268 <td>Shelving Location</td>
269 <td>Circ Modifier</td>
275 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
276 <tr id='acq-lit-real-copies-row'>
277 <td><div name='owning_lib'/></td>
278 <td><div name='location'/></td>
279 <td><div name='circ_modifier'/></td>
280 <td><div name='label'/></td>
281 <td><div name='barcode'/></td>
287 <div class='hidden' id='acq-lit-progress-numbers'>
288 <table class='oils-generic-table'>
291 <td>Lineitems Processed</td>
292 <td><span id='acq-pl-lit-li-processed'>0</span></td>
295 <td>Items Processed</td>
296 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
299 <td>Debits Encumbered</td>
300 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
303 <td>Bib Records Imported</td>
304 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
307 <td>Bib Records Indexed</td>
308 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
311 <td>Copies Processed</td>
312 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
319 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
320 <table class='oils-generic-table'>
323 <td><div name='provider' id='acq-lit-po-provider'/></td>
326 <td>All Lineitems</td>
327 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
330 <td>Selected Lineitems</td>
331 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
334 <td>Import Bibs and Create Copies</td>
335 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
339 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
346 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
347 <table class='dijitTooltipTable'>
350 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
351 <label for="name">Save selected</label>
352 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
353 <label for="name">Save all</label>
356 <tr><td colspan='2'><hr/></td></tr>
358 <td><label for="new_name">Save as Selection List: </label></td>
359 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
362 <td><label for="existing_pl">Add to Selection List: </label></td>
364 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
365 name="existing_pl" searchAttr='name' displayAttr='name'/>
369 <td colspan='2' align='center'>
370 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
377 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>