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='po' value='' disabled='disabled'>------</option>
20 <option mask='po' value='create_order'>Create Purchase Order</option>
21 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
22 <option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
23 <option mask='po' value='print_po'>Print Purchase Order</option>
24 <option mask='po' value='create_assets'>Load Bibs and Items</option>
25 <option mask='po' value='' disabled='disabled'>------</option>
26 <option mask='*' value='delete_selected'>Delete Selected Items</option>
29 <span id='acq-lit-generic-progress' class='hidden'>
30 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
34 <div style='width:100%;text-align:right;'>
35 <span style='padding-right:15px;'>
36 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
37 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
46 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
47 <tbody style='font-weight:bold;border:1px solid #aaa;'>
49 <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 name='receive_link' href='javascript:void(0);'>Mark Received</a></td>
84 <td><input type='text' size='8' name='price'/></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>
95 <!-- Bib record / Lineitem details table -->
96 <div id='acq-lit-info-div' class='hidden'>
97 <div class='acq-lit-li-menu-bar'>
98 <div dojoType='dijit.form.Button' id='acq-lit-info-back-button'>↖ Return</div>
101 <tbody id='acq-lit-info-tbody'>
102 <tr id='acq-lit-info-row'><td name='label'/><td name='value'/></tr>
105 <div style='margin-top:10px;' class='hidden' id='acq-lit-info-cat-link'>
106 View in the <a href='/opac/en-US/skin/default/xml/rdetail.xml?r='>Catalog</a>
108 <div style='margin-top:40px;'>
109 <h3 id='acq-lit-marc-order-record-label'>MARC Order Record</h3>
110 <h3 id='acq-lit-marc-real-record-label'>MARC ILS Record</h3>
112 <div dojoType='dijit.form.Button' jsId='acqLitEditOrderMarc' class='hidden'>Edit MARC Order Record</div>
113 <div dojoType='dijit.form.Button' jsId='acqLitEditILSMarc' class='hidden' disabled='disabled'>Edit MARC ILS 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.Button' id='acq-lit-notes-new-button'>New Note</div>
130 <div dojoType='dijit.form.Button' id='acq-lit-notes-save-button'>Save Changes</div>
136 <table class='oils-generic-table' style='width:90%;'>
145 <tbody id='acq-lit-notes-tbody'>
146 <tr id='acq-lit-notes-row'>
147 <td class='acq-lit-note-textarea'><div name='value'/></td>
148 <td><div name='creator'/></td>
149 <td><div name='create_time'/></td>
150 <td><div name='editor'/></td>
151 <td><div name='edit_time'/></td>
152 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
159 <div dojoType='dijit.Dialog' jsId='acqLitCreateLiNoteDialog'>
160 <div dojoType='dijit.form.Textarea' style='height:6em; width:40em;' name='note'></div>
162 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreateLiNoteSubmit'>Create</div>
166 <!-- Copies table -->
167 <div id='acq-lit-li-details' class='hidden'>
170 <div class='acq-lit-li-menu-bar'>
171 <table style='width:100%'>
173 <td style='text-align:left;'>
174 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
175 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
177 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
178 constraints="{min:1,max:1000,places:0}" style='width:40px' value='1'></input>
179 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
182 <td style='text-align:right;'>
183 <span id='acq-lit-update-copies-progress' class='hidden'>
184 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
187 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
194 <table id='acq-lit-li-details-table'>
195 <tbody style='background-color:#ddd;'>
196 <tr id='acq-lit-li-details-batch-row'>
197 <td><div name='owning_lib'/></td>
198 <td><div name='location'/></td>
199 <td><div name='fund'/></td>
200 <td><div name='circ_modifier'/></td>
201 <td><div name='cn_label'/></td>
202 <td colspan='3' style='text-align:left;'>
203 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
210 <a href='javascript:void(0);'
211 onclick='openils.Util.toggle("acq-lit-distrib-formula-tbody");'>Distribution Formulas</a>
215 <tbody id='acq-lit-distrib-formula-tbody' class='hidden'>
216 <tr id='acq-lit-distrib-form-row'>
217 <td name='selector'/>
218 <td name='setbutton'/>
221 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
222 <tbody style='font-weight:bold;'>
224 <td style='margin-top:30px;'>Owning Branch</td>
225 <td>Shelving Location</td>
227 <td>Circ Modifier</td>
234 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
235 <tr id='acq-lit-li-details-row'>
236 <td><div name='owning_lib'/></td>
237 <td><div name='location'/></td>
238 <td><div name='fund'/></td>
239 <td><div name='circ_modifier'/></td>
240 <td><div name='cn_label'/></td>
241 <td><div name='barcode'/></td>
242 <td><div name='note'/></td>
243 <td><a href='javascript:void(0);' name='receive'>Mark Received</a></td>
244 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
250 <div class='hidden' id='acq-lit-progress-numbers'>
251 <table class='oils-generic-table'>
254 <td>Lineitems Processed</td>
255 <td><span id='acq-pl-lit-li-processed'>0</span></td>
258 <td>Items Processed</td>
259 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
262 <td>Debits Encumbered</td>
263 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
266 <td>Bib Records Imported</td>
267 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
270 <td>Bib Records Indexed</td>
271 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
274 <td>Copies Processed</td>
275 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
282 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
283 <table class='oils-generic-table'>
286 <td><div name='provider' id='acq-lit-po-provider'/></td>
289 <td>All Lineitems</td>
290 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
293 <td>Selected Lineitems</td>
294 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
297 <td>Import Bibs and Create Copies</td>
298 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
302 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
309 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
310 <table class='dijitTooltipTable'>
313 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
314 <label for="name">Save selected</label>
315 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
316 <label for="name">Save all</label>
319 <tr><td colspan='2'><hr/></td></tr>
321 <td><label for="new_name">Save as Selection List: </label></td>
322 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
325 <td><label for="existing_pl">Add to Selection List: </label></td>
327 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
328 name="existing_pl" searchAttr='name' displayAttr='name'/>
332 <td colspan='2' align='center'>
333 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
340 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>