1 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/acq/common/base64.js"> </script>
2 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/acq/common/li_table.js'> </script>
3 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/acq/financial/claim_voucher.js'> </script>
4 <div id='acq-lit-table-container'>
5 <div id='acq-lit-table-div' class='hidden'>
7 <!-- Lineitem (bib record) list -->
8 <table id='acq-lit-table' class='oils-generic-table'>
12 <table style='width:100%;'>
16 <select id="acq-lit-li-actions-selector">
17 <option mask='*' value='_'>--Actions--</option>
18 <option mask='sr' value='save_picklist'>Save Items To Selection List</option>
19 <option mask='pl' value='selector_ready'>Mark Ready for Selector</option>
20 <option mask='pl' value='order_ready'>Mark Ready for Order</option>
21 <option mask='*' value='delete_selected'>Delete Selected Items</option>
22 <option mask='*' value='add_brief_record'>Add Brief Record</option>
23 <option mask='*' value='export_attr_list'>Export Single Attribute List</option>
24 <option mask='*' value='batch_apply_funds'>Apply Funds to Selected Items</option>
25 <option mask='po' value='' disabled='disabled'>----PO----</option>
26 <option mask='sr|pl' value='create_order'>Create Purchase Order</option>
27 <option mask='po' value='create_assets'>Load Bibs and Items</option>
28 <option mask='po' value='cancel_lineitems'>Cancel Selected Lineitems</option>
29 <option mask='po' value='change_claim_policy'>Change Claim Policy</option>
30 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
31 <option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
32 <option mask='po' value='print_po'>Print Purchase Order</option>
33 <option mask='po' value='po_history'>View PO History</option>
35 <span id="acq-lit-export-attr-holder" class="hidden">
36 <input dojoType="dijit.form.FilteringSelect" id="acq-lit-export-attr" jsId="acqLitExportAttrSelector" labelAttr="description" searchAttr="description" />
37 <span dojoType="dijit.form.Button" jsId="acqLitExportAttrButton">Export List</span>
39 <span id="acq-lit-cancel-reason" class="hidden">
40 <span id="acq-lit-cancel-reason-selector"></span>
41 <span dojoType="dijit.form.Button" jsId="acqLitCancelLineitemsButton">Cancel Line Items</span>
44 <span id='acq-lit-generic-progress' class='hidden'>
45 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
49 <div style='width:100%;text-align:right;'>
50 <span style='padding-right:15px;'>
51 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
52 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
61 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
62 <tbody style='font-weight:bold;border:1px solid #aaa;'>
64 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
70 <td>Estimated Price</td>
73 <tbody id='acq-lit-tbody'>
74 <tr id='acq-lit-row' class='acq-lit-row'>
75 <td name='selector'><input type='checkbox' name='selectbox'/></td>
76 <td style='width:75%;'>
77 <table style='width:100%;'>
80 <td rowspan='3' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></td>
81 <td style='width:70%;font-weight:bold;'>
82 <span name="bib_origin" class="hidden">
83 <img src="/opac/images/book-icon.png" />
84 </span><a attr='title' href='javascript:void(0);'></a>
86 <td rowspan='2' style='text-align:right'>
89 <tr class='acq-lit-alt-row'>
91 <span attr='author'></span>
92 <span attr='isbn'></span>
93 <span attr='issn'></span>
94 <span attr='edition'></span>
95 <span attr='pubdate'></span>
96 <span attr='publisher'></span>
97 <span name='source_label'></span>
102 <span name="liid"># </span>
103 <span name="catalog" class='hidden'> | <a title='Show In Catalog' name="catalog_link" href="javascript:void(0);">➟ catalog</a></span>
104 <span name="link_to_catalog" class='hidden'> | <a title='Link To Catalog Record' name="link_to_catalog_link" href="javascript:void(0);">➾ link to catalog</a></span>
105 <span name="worksheet"> | <a title='Generate Worksheet' name="worksheet_link" href="javascript:void(0);">✍ worksheet</a></span>
106 <span name='pl' class='hidden'> | <a title='Select List' name='pl_link' href='javascript:void(0);'>❖ </a></span>
107 <span name='po' class='hidden'> | <a title='Purchase Order' name='po_link' href='javascript:void(0);'>⌘ </a></span>
113 <td><a title='FOOOBAR' name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
115 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
118 <select name='actions'>
119 <option name='action_none'>-- Actions --</option>
120 <option name='action_mark_recv' disabled='disabled'>Mark Received</option>
121 <option name='action_mark_unrecv' disabled='disabled'>Un-Receive</option>
122 <option name='action_update_barcodes' disabled='disabled'>Update Barcodes</option>
123 <option name='action_holdings_maint' disabled='disabled'>Holdings Maint.</option>
124 <option name='action_new_invoice' disabled='disabled'>New Invoice</option>
125 <option name='action_link_invoice' disabled='disabled'>Link to Invoice</option>
126 <option name='action_view_invoice' disabled='disabled'>View Invoice(s)</option>
127 <option name='action_view_claim_policy'>Apply Claim Policy</option>
128 <option name='action_manage_claims' disabled='disabled'>Claims</option>
129 <option name='action_view_history'>View History</option>
132 <td><span name='li_state'></span></td>
133 <td><input type='text' size='8' name='price'/></td>
139 <!-- Bib record / Lineitem info table -->
140 [% INCLUDE "default/acq/common/info.tt2" which = "Lit" %]
142 <!-- Lineitem notes table -->
143 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
145 <!-- Copies table -->
146 <div id='acq-lit-li-details' class='hidden'>
148 <div id='acq-lit-copies-li-summary'></div>
150 <h3>Add/Edit Items</h3>
153 <div class='acq-lit-li-menu-bar'>
154 <table style='width:100%'>
156 <td class="acq-lit-li-menu-left">
157 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button' scrollOnFocus='false'>↖ Return</div>
158 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
160 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
161 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
162 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount' scrollOnFocus='false'>Go</div>
164 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
165 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies' scrollOnFocus='false'>Save Changes</div>
167 <span id='acq-lit-update-copies-progress' class='hidden'>
168 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
176 <table id='acq-lit-distrib-formula-table'>
177 <tbody id='acq-lit-distrib-formula-tbody'>
178 <tr id='acq-lit-distrib-form-row'>
180 <span>Distribution Formulas</span>
181 <div name='selector'></div>
182 <div name='set_button'></div>
183 <div name="reset_button"></div>
187 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
189 <td colspan="5" id="acq-lit-distrib-applied-heading">
190 Distribution formulas applied to this lineitem:
193 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
195 <td colspan="4"></td>
200 <table id='acq-lit-li-details-table'>
201 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
202 <tbody style='font-weight:bold;'>
204 <td style='margin-top:30px;'>Owning Branch</td>
205 <td>Shelving Location</td>
206 <td>Collection Code</td>
208 <td>Circ Modifier</td>
210 <td colspan='0'></td>
213 <tbody style='background-color:#ddd;'>
214 <tr id='acq-lit-li-details-batch-row'>
215 <td><div name='owning_lib'></div></td>
216 <td><div name='location'></div></td>
217 <td><div name='collection_code'></div></td>
218 <td><div name='fund'></div></td>
219 <td><div name='circ_modifier'></div></td>
220 <td><div name='cn_label'></div></td>
221 <td colspan='3' style='text-align:left;'>
222 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies' scrollOnFocus='false'>Batch Update</div>
228 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'></td></tr></tbody>
229 <tbody style='font-weight:bold;'>
231 <td style='margin-top:30px;'>Owning Branch</td>
232 <td>Shelving Location</td>
233 <td>Collection Code</td>
235 <td>Circ Modifier</td>
239 <td colspan='0'></td>
242 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
243 <tr id='acq-lit-li-details-row'>
244 <td><div name='owning_lib'></div></td>
245 <td><div name='location'></div></td>
246 <td><div name='collection_code'></div></td>
247 <td><div name='fund'></div></td>
248 <td><div name='circ_modifier'></div></td>
249 <td><div name='cn_label'></div></td>
250 <td><div name='barcode'></div></td>
251 <td><div name='note'></div></td>
252 <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> <a href="javascript:void(0);" name="claim">Claim</a></td>
253 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;' scrollOnFocus='false'>X</div></td>
260 <!-- Copies table -->
261 <div id='acq-lit-real-copies-div' class='hidden'>
264 <div class='acq-lit-li-menu-bar'>
265 <table style='width:100%'>
267 <td style='text-align:left;'>
268 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button' scrollOnFocus='false'>↖ Return</div>
270 <td style='text-align:right;'>
272 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies' scrollOnFocus='false'>Save Changes</div>
279 <table id='acq-lit-real-copies-table'>
280 <tbody style='font-weight:bold;'>
282 <td style='margin-top:30px;'>Owning Branch</td>
283 <td>Shelving Location</td>
284 <td>Circ Modifier</td>
287 <td colspan='0'></td>
290 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
291 <tr id='acq-lit-real-copies-row'>
292 <td><div name='owning_lib'></div></td>
293 <td><div name='location'></div></td>
294 <td><div name='circ_modifier'></div></td>
295 <td><div name='label'></div></td>
296 <td><div name='barcode'></div></td>
303 <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
304 [% INCLUDE "default/acq/common/inv_dialog.tt2" which = "li" %]
308 <div class='hidden' id='acq-lit-progress-numbers'>
309 <table class='oils-generic-table'>
312 <td>Lineitems Processed</td>
313 <td><span id='acq-pl-lit-li-processed'>0</span></td>
316 <td>Items Processed</td>
317 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
320 <td>Debits Encumbered</td>
321 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
324 <td>Bib Records Imported</td>
325 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
328 <td>Bib Records Indexed</td>
329 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
332 <td>Copies Processed</td>
333 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
340 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
341 <table class='oils-generic-table'>
343 <td>Ordering Agency</td>
344 <td><div name='ordering_agency' id='acq-lit-po-agency'></div></td>
348 <td><div name='provider' id='acq-lit-po-provider'></div></td>
351 <td>Prepayment Required</td>
352 <td><input id="acq-lit-po-prepay" name="prepayment_required" dojoType="dijit.form.CheckBox"/></td>
355 <td>All Lineitems</td>
356 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
359 <td>Selected Lineitems</td>
360 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
363 <td>Import Bibs and Create Copies</td>
364 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
368 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
376 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
377 <table class='dijitTooltipTable'>
380 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
381 <label for="name">Save selected</label>
382 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
383 <label for="name">Save all</label>
386 <tr><td colspan='2'><hr/></td></tr>
388 <td><label for="new_name">Save as Selection List: </label></td>
389 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
392 <td><label for="existing_pl">Add to Selection List: </label></td>
394 <input jsId="acqLitAddExistingSelect" dojoType="openils.widget.PCrudAutocompleteBox" fmclass="acqpl" searchAttr="name" name="existing_pl" />
398 <td colspan='2' align='center'>
399 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
405 <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
406 <label for="acq-lit-lid-cancel-reason">Reason:</label>
407 <span id="acq-lit-lid-cancel-reason"></span>
408 <span dojoType="dijit.form.Button"
409 jsId="acqLidCancelButton">Cancel Copy</span>
411 <div dojoType="dijit.Dialog" jsId="liClaimPolicyDialog">
412 <label for="acq-lit-li-claim-policy">Claim policy:</label>
413 <span id="acq-lit-li-claim-policy"></span>
414 <span dojoType="dijit.form.Button"
415 jsId="liClaimPolicySave">Save</span>
417 <div dojoType="dijit.Dialog" jsId="liClaimDialog">
418 [% INCLUDE "default/acq/common/claim_dialog.tt2" %]
420 <div dojoType="dijit.Dialog" jsId="finalClaimDialog">
421 [% INCLUDE "default/acq/common/final_claim_dialog.tt2" %]
423 <div dojoType="dijit.Dialog" jsId="batchFundUpdateDialog" title="Batch Update Funds">
425 This will update the fund for all copies attached to these lineitems.<br/>
426 This will also update any existing encumbered or spent debits.
429 <table class='oils-generic-table'>
432 <span>Select a new fund:</span>
435 <div id='acq-lit-batch-fund-selector'></div>
439 <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateCancel'>Cancel</button></td>
440 <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateSubmit'>Submit</button></td>
446 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
447 <table class='dijitTooltipTable'>
450 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
451 <label for="name">Mark selected</label>
452 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
453 <label for="name">Mark all</label>
457 <td colspan='2' align='center'>
458 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
459 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
467 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>