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='pl' value='create_order'>Create Purchase Order</option>
20 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
21 <option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
22 <option mask='po' value='print_po'>Print Purchase Order</option>
23 <option mask='po' value='create_assets'>Create PO Assets</option>
24 <option mask='*' value='delete_selected'>Delete Selected Items</option>
27 <span id='acq-lit-generic-progress' class='hidden'>
28 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
32 <div style='width:100%;text-align:right;'>
33 <span style='padding-right:15px;'>
34 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
35 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
44 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
45 <tbody style='font-weight:bold;border:1px solid #aaa;'>
47 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
55 <tbody id='acq-lit-tbody'>
56 <tr id='acq-lit-row' class='acq-lit-row'>
57 <td name='selector'><input type='checkbox' name='selectbox'/></td>
58 <td style='width:75%;'>
59 <table style='width:100%;'>
62 <td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
63 <td style='width:70%;font-weight:bold;'><a attr='title' href='javascript:void(0);'></a></td>
64 <td rowspan='2' style='text-align:right'>
67 <tr class='acq-lit-alt-row'>
69 <span attr='author'></span>
70 <span attr='isbn'></span>
71 <span attr='issn'></span>
72 <span attr='edition'></span>
73 <span attr='pubdate'></span>
74 <span attr='publisher'></span>
75 <span name='source_label'></span>
81 <td><a name='receive_link' href='javascript:void(0);'>Mark Received</a></td>
82 <td><input type='text' size='8' name='price'/></td>
83 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
85 <a name='noteslink' href='javascript:void(0);'
86 style='margin-right:15px;'>Notes(<span name='notes_count'>0</span>)</a>
93 <!-- Bib record / Lineitem details table -->
94 <div id='acq-lit-info-div' class='hidden'>
95 <div class='acq-lit-li-menu-bar'>
96 <div dojoType='dijit.form.Button' id='acq-lit-info-back-button'>↖ Return</div>
99 <tbody id='acq-lit-info-tbody'>
100 <tr id='acq-lit-info-row'><td name='label'/><td name='value'/></tr>
103 <div style='margin-top:10px;' class='hidden' id='acq-lit-info-cat-link'>
104 View in the <a href='/opac/en-US/skin/default/xml/rdetail.xml?r='>Catalog</a>
106 <div style='margin-top:40px;'>
109 <div dojoType='dijit.form.Button' jsId='acqLitEditMarc'>Edit MARC Record</div>
111 <div id='acq-lit-marc-div' style='margin-top:20px;'> </div>
115 <!-- Lineitem notes table -->
116 <div id='acq-lit-notes-div' class='hidden'>
118 <div class='acq-lit-li-menu-bar'>
119 <table style='width:100%'>
121 <td style='text-align:left;'>
122 <div dojoType='dijit.form.Button' id='acq-lit-notes-back-button'>↖ Return</div>
124 <td style='text-align:right;'>
125 <div dojoType='dijit.form.Button' id='acq-lit-notes-new-button'>New Note</div>
126 <div dojoType='dijit.form.Button' id='acq-lit-notes-save-button'>Save Changes</div>
132 <table class='oils-generic-table' style='width:90%;'>
141 <tbody id='acq-lit-notes-tbody'>
142 <tr id='acq-lit-notes-row'>
143 <td class='acq-lit-note-textarea'><div name='value'/></td>
144 <td><div name='creator'/></td>
145 <td><div name='create_time'/></td>
146 <td><div name='editor'/></td>
147 <td><div name='edit_time'/></td>
148 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
155 <div dojoType='dijit.Dialog' jsId='acqLitCreateLiNoteDialog'>
156 <div dojoType='dijit.form.Textarea' style='height:6em; width:40em;' name='note'></div>
158 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreateLiNoteSubmit'>Create</div>
162 <!-- Copies table -->
163 <div id='acq-lit-li-details' class='hidden'>
166 <div class='acq-lit-li-menu-bar'>
167 <table style='width:100%'>
169 <td style='text-align:left;'>
170 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
171 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
173 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
174 constraints="{min:1,max:1000,places:0}" style='width:40px' value='1'></input>
175 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
178 <td style='text-align:right;'>
179 <span id='acq-lit-update-copies-progress' class='hidden'>
180 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
183 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
190 <table id='acq-lit-li-details-table'>
191 <tbody style='background-color:#ddd;'>
192 <tr id='acq-lit-li-details-batch-row'>
193 <td><div name='owning_lib'/></td>
194 <td><div name='location'/></td>
195 <td><div name='fund'/></td>
196 <td><div name='circ_modifier'/></td>
197 <td><div name='cn_label'/></td>
198 <td colspan='3' style='text-align:left;'>
199 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
206 <a href='javascript:void(0);'
207 onclick='openils.Util.toggle("acq-lit-distrib-formula-tbody");'>Distribution Formulas</a>
211 <tbody id='acq-lit-distrib-formula-tbody' class='hidden'>
212 <tr id='acq-lit-distrib-form-row'>
213 <td name='selector'/>
214 <td name='setbutton'/>
217 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
218 <tbody style='font-weight:bold;'>
220 <td style='margin-top:30px;'>Owning Branch</td>
221 <td>Shelving Location</td>
223 <td>Circ Modifier</td>
230 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
231 <tr id='acq-lit-li-details-row'>
232 <td><div name='owning_lib'/></td>
233 <td><div name='location'/></td>
234 <td><div name='fund'/></td>
235 <td><div name='circ_modifier'/></td>
236 <td><div name='cn_label'/></td>
237 <td><div name='barcode'/></td>
238 <td><div name='note'/></td>
239 <td><a href='javascript:void(0);' name='receive'>Mark Received</a></td>
240 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
246 <div class='hidden' id='acq-lit-progress-numbers'>
247 <table class='oils-generic-table'>
250 <td>Lineitems Processed</td>
251 <td><span id='acq-pl-lit-li-processed'>0</span></td>
254 <td>Items Processed</td>
255 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
258 <td>Debits Encumbered</td>
259 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
262 <td>Bib Records Imported</td>
263 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
266 <td>Bib Records Indexed</td>
267 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
270 <td>Copies Processed</td>
271 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
278 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
279 <table class='oils-generic-table'>
282 <td><div name='provider' id='acq-lit-po-provider'/></td>
285 <td>All Lineitems</td>
286 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
289 <td>Selected Lineitems</td>
290 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
293 <td>Import Bibs and Create Copies</td>
294 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
298 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
305 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
306 <table class='dijitTooltipTable'>
309 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
310 <label for="name">Save selected</label>
311 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
312 <label for="name">Save all</label>
315 <tr><td colspan='2'><hr/></td></tr>
317 <td><label for="new_name">Save as Selection List: </label></td>
318 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
321 <td><label for="existing_pl">Add to Selection List: </label></td>
323 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
324 name="existing_pl" searchAttr='name' displayAttr='name'/>
328 <td colspan='2' align='center'>
329 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
336 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>
337 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialogInd' indeterminate='true'/>