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="worksheet">(<a name="worksheet_link" href="javascript:void(0);">✍</a>)</span>
80 <span name='pl' class='hidden'>(<a name='pl_link' href='javascript:void(0);'></a>)</span>
81 <span name='po' class='hidden'>(<a name='po_link' href='javascript:void(0);'>PO</a>)</span>
83 <td rowspan='2' style='text-align:right'>
86 <tr class='acq-lit-alt-row'>
88 <span attr='author'></span>
89 <span attr='isbn'></span>
90 <span attr='issn'></span>
91 <span attr='edition'></span>
92 <span attr='pubdate'></span>
93 <span attr='publisher'></span>
94 <span name='source_label'></span>
100 <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>
101 <td><a name='receive_link' href='javascript:void(0);'>Mark Received</a><a name='unreceive_link' href='javascript:void(0);'>Un-Receive</a></td>
103 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
105 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
107 <td><span name='li_state'></span></td>
108 <td><input type='text' size='8' name='price'/></td>
114 <!-- Bib record / Lineitem info table -->
115 [% INCLUDE "default/acq/common/info.tt2" which = "Lit" %]
117 <!-- Lineitem notes table -->
118 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
120 <!-- Copies table -->
121 <div id='acq-lit-li-details' class='hidden'>
124 <div class='acq-lit-li-menu-bar'>
125 <table style='width:100%'>
127 <td class="acq-lit-li-menu-left">
128 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
129 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
131 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
132 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
133 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
136 <td class="acq-lit-li-menu-right">
138 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
140 <span id='acq-lit-update-copies-progress' class='hidden'>
141 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
148 <table id='acq-lit-li-details-table'>
149 <tbody style='background-color:#ddd;'>
150 <tr id='acq-lit-li-details-batch-row'>
151 <td><div name='owning_lib'/></td>
152 <td><div name='location'/></td>
153 <td><div name='collection_code'/></td>
154 <td><div name='fund'/></td>
155 <td><div name='circ_modifier'/></td>
156 <td><div name='cn_label'/></td>
157 <td colspan='3' style='text-align:left;'>
158 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
163 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
165 <tbody id='acq-lit-distrib-formula-tbody'>
166 <tr id='acq-lit-distrib-form-row'>
168 <span>Distribution Formulas</span>
169 <div name='selector'></div>
170 <div name='set_button'></div>
171 <div name="reset_button"></div>
176 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
177 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
179 <td colspan="5" id="acq-lit-distrib-applied-heading">
180 Distribution formulas applied to this lineitem:
183 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
185 <td colspan="4"></td>
189 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
190 <tbody style='font-weight:bold;'>
192 <td style='margin-top:30px;'>Owning Branch</td>
193 <td>Shelving Location</td>
194 <td>Collection Code</td>
196 <td>Circ Modifier</td>
203 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
204 <tr id='acq-lit-li-details-row'>
205 <td><div name='owning_lib'/></td>
206 <td><div name='location'/></td>
207 <td><div name='collection_code'/></td>
208 <td><div name='fund'/></td>
209 <td><div name='circ_modifier'/></td>
210 <td><div name='cn_label'/></td>
211 <td><div name='barcode'/></td>
212 <td><div name='note'/></td>
213 <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>
214 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
221 <!-- Copies table -->
222 <div id='acq-lit-real-copies-div' class='hidden'>
225 <div class='acq-lit-li-menu-bar'>
226 <table style='width:100%'>
228 <td style='text-align:left;'>
229 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
231 <td style='text-align:right;'>
233 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
240 <table id='acq-lit-real-copies-table'>
241 <tbody style='font-weight:bold;'>
243 <td style='margin-top:30px;'>Owning Branch</td>
244 <td>Shelving Location</td>
245 <td>Circ Modifier</td>
251 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
252 <tr id='acq-lit-real-copies-row'>
253 <td><div name='owning_lib'/></td>
254 <td><div name='location'/></td>
255 <td><div name='circ_modifier'/></td>
256 <td><div name='label'/></td>
257 <td><div name='barcode'/></td>
263 <div class='hidden' id='acq-lit-progress-numbers'>
264 <table class='oils-generic-table'>
267 <td>Lineitems Processed</td>
268 <td><span id='acq-pl-lit-li-processed'>0</span></td>
271 <td>Items Processed</td>
272 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
275 <td>Debits Encumbered</td>
276 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
279 <td>Bib Records Imported</td>
280 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
283 <td>Bib Records Indexed</td>
284 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
287 <td>Copies Processed</td>
288 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
295 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
296 <table class='oils-generic-table'>
298 <td>Ordering Agency</td>
299 <td><div name='ordering_agency' id='acq-lit-po-agency'/></td>
303 <td><div name='provider' id='acq-lit-po-provider'/></td>
306 <td>Prepayment Required</td>
307 <td><input id="acq-lit-po-prepay" name="prepayment_required" dojoType="dijit.form.CheckBox"/></td>
310 <td>All Lineitems</td>
311 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
314 <td>Selected Lineitems</td>
315 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
318 <td>Import Bibs and Create Copies</td>
319 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
323 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
330 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
331 <table class='dijitTooltipTable'>
334 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
335 <label for="name">Save selected</label>
336 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
337 <label for="name">Save all</label>
340 <tr><td colspan='2'><hr/></td></tr>
342 <td><label for="new_name">Save as Selection List: </label></td>
343 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
346 <td><label for="existing_pl">Add to Selection List: </label></td>
348 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
349 name="existing_pl" searchAttr='name' displayAttr='name'/>
353 <td colspan='2' align='center'>
354 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
361 <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
362 <label for="acq-lit-lid-cancel-reason">Reason:</label>
363 <span id="acq-lit-lid-cancel-reason"></span>
364 <span dojoType="dijit.form.Button"
365 jsId="acqLidCancelButton">Cancel Copy</span>
369 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
370 <table class='dijitTooltipTable'>
373 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
374 <label for="name">Mark selected</label>
375 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
376 <label for="name">Mark all</label>
380 <td colspan='2' align='center'>
381 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
382 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
390 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>