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='cancel_lineitems'>Cancel Selected Lineitems</option>
26 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
27 <option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
28 <option mask='po' value='print_po'>Print Purchase Order</option>
30 <span id="acq-lit-export-attr-holder" class="hidden">
31 <input dojoType="dijit.form.FilteringSelect" id="acq-lit-export-attr" jsId="acqLitExportAttrSelector" labelAttr="description" searchAttr="description" />
32 <span dojoType="dijit.form.Button" jsId="acqLitExportAttrButton">Export List</span>
34 <span id="acq-lit-cancel-reason" class="hidden">
35 <span id="acq-lit-cancel-reason-selector"></span>
36 <span dojoType="dijit.form.Button" jsId="acqLitCancelLineitemsButton">Cancel Line Items</span>
39 <span id='acq-lit-generic-progress' class='hidden'>
40 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
44 <div style='width:100%;text-align:right;'>
45 <span style='padding-right:15px;'>
46 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
47 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
56 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
57 <tbody style='font-weight:bold;border:1px solid #aaa;'>
59 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
69 <tbody id='acq-lit-tbody'>
70 <tr id='acq-lit-row' class='acq-lit-row'>
71 <td name='selector'><input type='checkbox' name='selectbox'/></td>
72 <td style='width:75%;'>
73 <table style='width:100%;'>
76 <td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
77 <td style='width:70%;font-weight:bold;'>
78 <a attr='title' href='javascript:void(0);'></a>
79 <span name='pl' class='hidden'>(<a name='pl_link' href='javascript:void(0);'></a>)</span>
80 <span name='po' class='hidden'>(<a name='po_link' href='javascript:void(0);'>PO</a>)</span>
82 <td rowspan='2' style='text-align:right'>
85 <tr class='acq-lit-alt-row'>
87 <span attr='author'></span>
88 <span attr='isbn'></span>
89 <span attr='issn'></span>
90 <span attr='edition'></span>
91 <span attr='pubdate'></span>
92 <span attr='publisher'></span>
93 <span name='source_label'></span>
99 <td><a class='hidden' name='real_copies_link' href='javascript:void(0);'>Update Barcodes</a> <a class='hidden' name='holdings_maintenance_link' href='javascript:void(0);'>Holdings Maintenance</a></td>
100 <td><a name='receive_link' href='javascript:void(0);'>Mark Received</a><a name='unreceive_link' href='javascript:void(0);'>Un-Receive</a></td>
102 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
104 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
106 <td><span name='li_state'></span></td>
107 <td><input type='text' size='8' name='price'/></td>
113 <!-- Bib record / Lineitem info table -->
114 [% INCLUDE "default/acq/common/info.tt2" which = "Lit" %]
116 <!-- Lineitem notes table -->
117 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
119 <!-- Copies table -->
120 <div id='acq-lit-li-details' class='hidden'>
123 <div class='acq-lit-li-menu-bar'>
124 <table style='width:100%'>
126 <td class="acq-lit-li-menu-left">
127 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
128 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
130 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
131 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
132 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
135 <td class="acq-lit-li-menu-right">
137 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
139 <span id='acq-lit-update-copies-progress' class='hidden'>
140 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
147 <table id='acq-lit-li-details-table'>
148 <tbody style='background-color:#ddd;'>
149 <tr id='acq-lit-li-details-batch-row'>
150 <td><div name='owning_lib'/></td>
151 <td><div name='location'/></td>
152 <td><div name='collection_code'/></td>
153 <td><div name='fund'/></td>
154 <td><div name='circ_modifier'/></td>
155 <td><div name='cn_label'/></td>
156 <td colspan='3' style='text-align:left;'>
157 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
162 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
164 <tbody id='acq-lit-distrib-formula-tbody'>
165 <tr id='acq-lit-distrib-form-row'>
167 <span>Distribution Formulas</span>
168 <div name='selector'></div>
169 <div name='set_button'></div>
170 <div name="reset_button"></div>
175 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
176 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
178 <td colspan="5" id="acq-lit-distrib-applied-heading">
179 Distribution formulas applied to this lineitem:
182 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
184 <td colspan="4"></td>
188 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
189 <tbody style='font-weight:bold;'>
191 <td style='margin-top:30px;'>Owning Branch</td>
192 <td>Shelving Location</td>
193 <td>Collection Code</td>
195 <td>Circ Modifier</td>
202 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
203 <tr id='acq-lit-li-details-row'>
204 <td><div name='owning_lib'/></td>
205 <td><div name='location'/></td>
206 <td><div name='collection_code'/></td>
207 <td><div name='fund'/></td>
208 <td><div name='circ_modifier'/></td>
209 <td><div name='cn_label'/></td>
210 <td><div name='barcode'/></td>
211 <td><div name='note'/></td>
212 <td><a href='javascript:void(0);' name='receive'>Mark Received</a><a href='javascript:void(0);' name='unreceive'>Un-Receive</a> <a href="javascript:void(0);" name='cancel'>Cancel</a><span class="hidden" name='cancel_reason'></span></td>
213 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
220 <!-- Copies table -->
221 <div id='acq-lit-real-copies-div' class='hidden'>
224 <div class='acq-lit-li-menu-bar'>
225 <table style='width:100%'>
227 <td style='text-align:left;'>
228 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
230 <td style='text-align:right;'>
232 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
239 <table id='acq-lit-real-copies-table'>
240 <tbody style='font-weight:bold;'>
242 <td style='margin-top:30px;'>Owning Branch</td>
243 <td>Shelving Location</td>
244 <td>Circ Modifier</td>
250 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
251 <tr id='acq-lit-real-copies-row'>
252 <td><div name='owning_lib'/></td>
253 <td><div name='location'/></td>
254 <td><div name='circ_modifier'/></td>
255 <td><div name='label'/></td>
256 <td><div name='barcode'/></td>
262 <div class='hidden' id='acq-lit-progress-numbers'>
263 <table class='oils-generic-table'>
266 <td>Lineitems Processed</td>
267 <td><span id='acq-pl-lit-li-processed'>0</span></td>
270 <td>Items Processed</td>
271 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
274 <td>Debits Encumbered</td>
275 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
278 <td>Bib Records Imported</td>
279 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
282 <td>Bib Records Indexed</td>
283 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
286 <td>Copies Processed</td>
287 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
294 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
295 <table class='oils-generic-table'>
297 <td>Ordering Agency</td>
298 <td><div name='ordering_agency' id='acq-lit-po-agency'/></td>
302 <td><div name='provider' id='acq-lit-po-provider'/></td>
305 <td>All Lineitems</td>
306 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
309 <td>Selected Lineitems</td>
310 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
313 <td>Import Bibs and Create Copies</td>
314 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
318 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
325 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
326 <table class='dijitTooltipTable'>
329 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
330 <label for="name">Save selected</label>
331 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
332 <label for="name">Save all</label>
335 <tr><td colspan='2'><hr/></td></tr>
337 <td><label for="new_name">Save as Selection List: </label></td>
338 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
341 <td><label for="existing_pl">Add to Selection List: </label></td>
343 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
344 name="existing_pl" searchAttr='name' displayAttr='name'/>
348 <td colspan='2' align='center'>
349 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
356 <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
357 <label for="acq-lit-lid-cancel-reason">Reason:</label>
358 <span id="acq-lit-lid-cancel-reason"></span>
359 <span dojoType="dijit.form.Button"
360 jsId="acqLidCancelButton">Cancel Copy</span>
364 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
365 <table class='dijitTooltipTable'>
368 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
369 <label for="name">Mark selected</label>
370 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
371 <label for="name">Mark all</label>
375 <td colspan='2' align='center'>
376 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
377 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
385 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>