1 <script src="[% ctx.media_prefix %]/js/ui/default/acq/common/base64.js"> </script>
2 <script src='[% ctx.media_prefix %]/js/ui/default/acq/common/li_table.js'> </script>
3 <div id='acq-lit-table-container'>
4 <div id='acq-lit-table-div' class='hidden'>
6 <!-- Lineitem (bib record) list -->
7 <table id='acq-lit-table' class='oils-generic-table'>
11 <table style='width:100%;'>
15 <select dojoType='dijit.form.FilteringSelect' value='_' jsId='acqLitLiActionsSelector'>
16 <option mask='*' value='_'>--Actions--</option>
17 <option mask='sr' value='save_picklist'>Save Items To Selection List</option>
18 <option mask='pl' value='selector_ready'>Mark Ready for Selector</option>
19 <option mask='pl' value='order_ready'>Mark Ready for Order</option>
20 <option mask='*' value='delete_selected'>Delete Selected Items</option>
21 <option mask='*' value='add_brief_record'>Add Brief Record</option>
22 <option mask='*' value='export_attr_list'>Export Single Attribute List</option>
23 <option mask='po' value='' disabled='disabled'>----PO----</option>
24 <option mask='sr|pl' value='create_order'>Create Purchase Order</option>
25 <option mask='po' value='create_assets'>Load Bibs and Items</option>
26 <option mask='po' value='cancel_lineitems'>Cancel Selected Lineitems</option>
27 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
28 <option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
29 <option mask='po' value='print_po'>Print Purchase Order</option>
31 <span id="acq-lit-export-attr-holder" class="hidden">
32 <input dojoType="dijit.form.FilteringSelect" id="acq-lit-export-attr" jsId="acqLitExportAttrSelector" labelAttr="description" searchAttr="description" />
33 <span dojoType="dijit.form.Button" jsId="acqLitExportAttrButton">Export List</span>
35 <span id="acq-lit-cancel-reason" class="hidden">
36 <span id="acq-lit-cancel-reason-selector"></span>
37 <span dojoType="dijit.form.Button" jsId="acqLitCancelLineitemsButton">Cancel Line Items</span>
40 <span id='acq-lit-generic-progress' class='hidden'>
41 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
45 <div style='width:100%;text-align:right;'>
46 <span style='padding-right:15px;'>
47 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
48 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
57 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
58 <tbody style='font-weight:bold;border:1px solid #aaa;'>
60 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
66 <td>Estimated Price</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 name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
102 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
105 <select name='actions'>
106 <option name='action_none'>-- Actions --</option>
107 <option name='action_mark_recv' disabled='disabled'>Mark Received</option>
108 <option name='action_mark_unrecv' disabled='disabled'>Un-Receive</option>
109 <option name='action_update_barcodes' disabled='disabled'>Update Barcodes</option>
110 <option name='action_holdings_maint' disabled='disabled'>Holdings Maint.</option>
111 <option name='action_new_invoice' disabled='disabled'>New Invoice</option>
112 <option name='action_link_invoice' disabled='disabled'>Link to Invoice</option>
113 <option name='action_view_invoice' disabled='disabled'>View Invoice(s)</option>
116 <td><span name='li_state'></span></td>
117 <td><input type='text' size='8' name='price'/></td>
123 <!-- Bib record / Lineitem info table -->
124 [% INCLUDE "default/acq/common/info.tt2" which = "Lit" %]
126 <!-- Lineitem notes table -->
127 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
129 <!-- Copies table -->
130 <div id='acq-lit-li-details' class='hidden'>
133 <div class='acq-lit-li-menu-bar'>
134 <table style='width:100%'>
136 <td class="acq-lit-li-menu-left">
137 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
138 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
140 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
141 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
142 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
145 <td class="acq-lit-li-menu-right">
147 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
149 <span id='acq-lit-update-copies-progress' class='hidden'>
150 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
157 <table id='acq-lit-li-details-table'>
158 <tbody style='background-color:#ddd;'>
159 <tr id='acq-lit-li-details-batch-row'>
160 <td><div name='owning_lib'></div></td>
161 <td><div name='location'></div></td>
162 <td><div name='collection_code'></div></td>
163 <td><div name='fund'></div></td>
164 <td><div name='circ_modifier'></div></td>
165 <td><div name='cn_label'></div></td>
166 <td colspan='3' style='text-align:left;'>
167 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
172 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
174 <tbody id='acq-lit-distrib-formula-tbody'>
175 <tr id='acq-lit-distrib-form-row'>
177 <span>Distribution Formulas</span>
178 <div name='selector'></div>
179 <div name='set_button'></div>
180 <div name="reset_button"></div>
185 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
186 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
188 <td colspan="5" id="acq-lit-distrib-applied-heading">
189 Distribution formulas applied to this lineitem:
192 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
194 <td colspan="4"></td>
198 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
199 <tbody style='font-weight:bold;'>
201 <td style='margin-top:30px;'>Owning Branch</td>
202 <td>Shelving Location</td>
203 <td>Collection Code</td>
205 <td>Circ Modifier</td>
212 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
213 <tr id='acq-lit-li-details-row'>
214 <td><div name='owning_lib'></div></td>
215 <td><div name='location'></div></td>
216 <td><div name='collection_code'></div></td>
217 <td><div name='fund'></div></td>
218 <td><div name='circ_modifier'></div></td>
219 <td><div name='cn_label'></div></td>
220 <td><div name='barcode'></div></td>
221 <td><div name='note'></div></td>
222 <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>
223 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
230 <!-- Copies table -->
231 <div id='acq-lit-real-copies-div' class='hidden'>
234 <div class='acq-lit-li-menu-bar'>
235 <table style='width:100%'>
237 <td style='text-align:left;'>
238 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
240 <td style='text-align:right;'>
242 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
249 <table id='acq-lit-real-copies-table'>
250 <tbody style='font-weight:bold;'>
252 <td style='margin-top:30px;'>Owning Branch</td>
253 <td>Shelving Location</td>
254 <td>Circ Modifier</td>
260 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
261 <tr id='acq-lit-real-copies-row'>
262 <td><div name='owning_lib'></div></td>
263 <td><div name='location'></div></td>
264 <td><div name='circ_modifier'></div></td>
265 <td><div name='label'></div></td>
266 <td><div name='barcode'></div></td>
272 <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
273 [% INCLUDE "default/acq/common/inv_dialog.tt2" which = "li" %]
276 <div class='hidden' id='acq-lit-progress-numbers'>
277 <table class='oils-generic-table'>
280 <td>Lineitems Processed</td>
281 <td><span id='acq-pl-lit-li-processed'>0</span></td>
284 <td>Items Processed</td>
285 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
288 <td>Debits Encumbered</td>
289 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
292 <td>Bib Records Imported</td>
293 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
296 <td>Bib Records Indexed</td>
297 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
300 <td>Copies Processed</td>
301 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
308 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
309 <table class='oils-generic-table'>
311 <td>Ordering Agency</td>
312 <td><div name='ordering_agency' id='acq-lit-po-agency'></div></td>
316 <td><div name='provider' id='acq-lit-po-provider'></div></td>
319 <td>Prepayment Required</td>
320 <td><input id="acq-lit-po-prepay" name="prepayment_required" dojoType="dijit.form.CheckBox"/></td>
323 <td>All Lineitems</td>
324 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
327 <td>Selected Lineitems</td>
328 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
331 <td>Import Bibs and Create Copies</td>
332 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
336 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
343 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
344 <table class='dijitTooltipTable'>
347 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
348 <label for="name">Save selected</label>
349 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
350 <label for="name">Save all</label>
353 <tr><td colspan='2'><hr/></td></tr>
355 <td><label for="new_name">Save as Selection List: </label></td>
356 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
359 <td><label for="existing_pl">Add to Selection List: </label></td>
361 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
362 name="existing_pl" searchAttr='name' displayAttr='name'/>
366 <td colspan='2' align='center'>
367 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
374 <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
375 <label for="acq-lit-lid-cancel-reason">Reason:</label>
376 <span id="acq-lit-lid-cancel-reason"></span>
377 <span dojoType="dijit.form.Button"
378 jsId="acqLidCancelButton">Cancel Copy</span>
382 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
383 <table class='dijitTooltipTable'>
386 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
387 <label for="name">Mark selected</label>
388 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
389 <label for="name">Mark all</label>
393 <td colspan='2' align='center'>
394 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
395 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
403 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>