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>
56 <tbody id='acq-lit-tbody'>
57 <tr id='acq-lit-row' class='acq-lit-row'>
58 <td name='selector'><input type='checkbox' name='selectbox'/></td>
59 <td style='width:75%;'>
60 <table style='width:100%;'>
63 <td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
64 <td style='width:70%;font-weight:bold;'><a attr='title' href='javascript:void(0);'></a></td>
65 <td rowspan='2' style='text-align:right'>
68 <tr class='acq-lit-alt-row'>
70 <span attr='author'></span>
71 <span attr='isbn'></span>
72 <span attr='issn'></span>
73 <span attr='edition'></span>
74 <span attr='pubdate'></span>
75 <span attr='publisher'></span>
76 <span name='source_label'></span>
83 <a name='receive_link' href='javascript:void(0);'>Mark Received</a>
84 <a class='hidden' name='real_copies_link' href='javascript:void(0);'>Update Barcodes</a>
86 <td><input type='text' size='8' name='price'/></td>
87 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
89 <a name='noteslink' href='javascript:void(0);'
90 style='margin-right:15px;'>Notes(<span name='notes_count'>0</span>)</a>
97 <!-- Bib record / Lineitem details table -->
98 <div id='acq-lit-info-div' class='hidden'>
99 <div class='acq-lit-li-menu-bar'>
100 <div dojoType='dijit.form.Button' id='acq-lit-info-back-button'>↖ Return</div>
103 <tbody id='acq-lit-info-tbody'>
104 <tr id='acq-lit-info-row'><td name='label'/><td name='value'/></tr>
107 <div style='margin-top:10px;' class='hidden' id='acq-lit-info-cat-link'>
108 View in the <a href='/opac/en-US/skin/default/xml/rdetail.xml?r='>Catalog</a>
110 <div style='margin-top:40px;'>
111 <h3 id='acq-lit-marc-order-record-label'>MARC Order Record</h3>
112 <h3 id='acq-lit-marc-real-record-label'>MARC ILS Record</h3>
114 <div dojoType='dijit.form.Button' jsId='acqLitEditOrderMarc' class='hidden'>Edit MARC Order Record</div>
116 <div id='acq-lit-marc-div' style='margin-top:20px;'> </div>
120 <!-- Lineitem notes table -->
121 <div id='acq-lit-notes-div' class='hidden'>
123 <div class='acq-lit-li-menu-bar'>
124 <table style='width:100%'>
126 <td style='text-align:left;'>
127 <div dojoType='dijit.form.Button' id='acq-lit-notes-back-button'>↖ Return</div>
129 <td style='text-align:right;'>
130 <div dojoType="dijit.form.DropDownButton">
131 <span>New Note</span>
132 <div dojoType="dijit.TooltipDialog">
134 <div jsId='acqLitCreateNoteText' dojoType='dijit.form.Textarea' style='height:5em; width:25em;' name='note'></div>
136 <button jsId='acqLitCreateLiNoteSubmit' dojoType='dijit.form.Button' type="submit">Create</button>
140 <div dojoType='dijit.form.Button' id='acq-lit-notes-save-button'>Save Changes</div>
146 <ol id='acq-lit-notes-tbody'>
147 <li id='acq-lit-notes-row'>
148 <table style='width:100%;' class='oils-generic-table'>
150 <td width='70%' align='left'><span style='font-size:120%' name='value'></span></td>
151 <td align='right' style='padding-right:30px;'>
152 <span name='edit_time'></span>
153 <span style='padding-left:4px;'><a name='delete' href='javascript:void(0);' style='color:red;'>Delete</a></span>
161 <!-- Copies table -->
162 <div id='acq-lit-li-details' class='hidden'>
165 <div class='acq-lit-li-menu-bar'>
166 <table style='width:100%'>
168 <td style='text-align:left;'>
169 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
170 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
172 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
173 constraints="{min:1,max:1000,places:0}" style='width:40px' value='1'></input>
174 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
177 <td style='text-align:right;'>
178 <span id='acq-lit-update-copies-progress' class='hidden'>
179 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
182 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
189 <table id='acq-lit-li-details-table'>
190 <tbody style='background-color:#ddd;'>
191 <tr id='acq-lit-li-details-batch-row'>
192 <td><div name='owning_lib'/></td>
193 <td><div name='location'/></td>
194 <td><div name='fund'/></td>
195 <td><div name='circ_modifier'/></td>
196 <td><div name='cn_label'/></td>
197 <td colspan='3' style='text-align:left;'>
198 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
205 <a href='javascript:void(0);'
206 onclick='openils.Util.toggle("acq-lit-distrib-formula-tbody");'>Distribution Formulas</a>
210 <tbody id='acq-lit-distrib-formula-tbody' class='hidden'>
211 <tr id='acq-lit-distrib-form-row'>
212 <td name='selector'/>
213 <td name='setbutton'/>
216 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
217 <tbody style='font-weight:bold;'>
219 <td style='margin-top:30px;'>Owning Branch</td>
220 <td>Shelving Location</td>
222 <td>Circ Modifier</td>
229 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
230 <tr id='acq-lit-li-details-row'>
231 <td><div name='owning_lib'/></td>
232 <td><div name='location'/></td>
233 <td><div name='fund'/></td>
234 <td><div name='circ_modifier'/></td>
235 <td><div name='cn_label'/></td>
236 <td><div name='barcode'/></td>
237 <td><div name='note'/></td>
238 <td><a href='javascript:void(0);' name='receive'>Mark Received</a></td>
239 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
246 <!-- Copies table -->
247 <div id='acq-lit-real-copies-div' class='hidden'>
250 <div class='acq-lit-li-menu-bar'>
251 <table style='width:100%'>
253 <td style='text-align:left;'>
254 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
256 <td style='text-align:right;'>
258 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
265 <table id='acq-lit-real-copies-table'>
266 <tbody style='font-weight:bold;'>
268 <td style='margin-top:30px;'>Owning Branch</td>
269 <td>Shelving Location</td>
270 <td>Circ Modifier</td>
276 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
277 <tr id='acq-lit-real-copies-row'>
278 <td><div name='owning_lib'/></td>
279 <td><div name='location'/></td>
280 <td><div name='circ_modifier'/></td>
281 <td><div name='label'/></td>
282 <td><div name='barcode'/></td>
288 <div class='hidden' id='acq-lit-progress-numbers'>
289 <table class='oils-generic-table'>
292 <td>Lineitems Processed</td>
293 <td><span id='acq-pl-lit-li-processed'>0</span></td>
296 <td>Items Processed</td>
297 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
300 <td>Debits Encumbered</td>
301 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
304 <td>Bib Records Imported</td>
305 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
308 <td>Bib Records Indexed</td>
309 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
312 <td>Copies Processed</td>
313 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
320 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
321 <table class='oils-generic-table'>
324 <td><div name='provider' id='acq-lit-po-provider'/></td>
327 <td>All Lineitems</td>
328 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
331 <td>Selected Lineitems</td>
332 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
335 <td>Import Bibs and Create Copies</td>
336 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
340 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
347 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
348 <table class='dijitTooltipTable'>
351 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
352 <label for="name">Save selected</label>
353 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
354 <label for="name">Save all</label>
357 <tr><td colspan='2'><hr/></td></tr>
359 <td><label for="new_name">Save as Selection List: </label></td>
360 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
363 <td><label for="existing_pl">Add to Selection List: </label></td>
365 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
366 name="existing_pl" searchAttr='name' displayAttr='name'/>
370 <td colspan='2' align='center'>
371 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
378 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>