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 <script 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 dojoType='dijit.form.FilteringSelect' value='_' jsId='acqLitLiActionsSelector'>
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="catalog" class='hidden'><a title='Show In Catalog' name="catalog_link" href="javascript:void(0);">➟ catalog</a></span>
103 <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>
104 <span name="worksheet"> | <a title='Generate Worksheet' name="worksheet_link" href="javascript:void(0);">✍ worksheet</a></span>
105 <span name='pl' class='hidden'> | <a title='Select List' name='pl_link' href='javascript:void(0);'>❖ </a></span>
106 <span name='po' class='hidden'> | <a title='Purchase Order' name='po_link' href='javascript:void(0);'>⌘ </a></span>
112 <td><a title='FOOOBAR' name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
114 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
117 <select name='actions'>
118 <option name='action_none'>-- Actions --</option>
119 <option name='action_mark_recv' disabled='disabled'>Mark Received</option>
120 <option name='action_mark_unrecv' disabled='disabled'>Un-Receive</option>
121 <option name='action_update_barcodes' disabled='disabled'>Update Barcodes</option>
122 <option name='action_holdings_maint' disabled='disabled'>Holdings Maint.</option>
123 <option name='action_new_invoice' disabled='disabled'>New Invoice</option>
124 <option name='action_link_invoice' disabled='disabled'>Link to Invoice</option>
125 <option name='action_view_invoice' disabled='disabled'>View Invoice(s)</option>
126 <option name='action_view_claim_policy'>Apply Claim Policy</option>
127 <option name='action_manage_claims' disabled='disabled'>Claims</option>
128 <option name='action_view_history'>View History</option>
131 <td><span name='li_state'></span></td>
132 <td><input type='text' size='8' name='price'/></td>
138 <!-- Bib record / Lineitem info table -->
139 [% INCLUDE "default/acq/common/info.tt2" which = "Lit" %]
141 <!-- Lineitem notes table -->
142 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
144 <!-- Copies table -->
145 <div id='acq-lit-li-details' class='hidden'>
148 <div class='acq-lit-li-menu-bar'>
149 <table style='width:100%'>
151 <td class="acq-lit-li-menu-left">
152 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button' scrollOnFocus='false'>↖ Return</div>
153 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
155 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
156 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
157 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount' scrollOnFocus='false'>Go</div>
160 <td class="acq-lit-li-menu-right">
162 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies' scrollOnFocus='false'>Save Changes</div>
164 <span id='acq-lit-update-copies-progress' class='hidden'>
165 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
172 <table id='acq-lit-li-details-table'>
173 <tbody style='background-color:#ddd;'>
174 <tr id='acq-lit-li-details-batch-row'>
175 <td><div name='owning_lib'></div></td>
176 <td><div name='location'></div></td>
177 <td><div name='collection_code'></div></td>
178 <td><div name='fund'></div></td>
179 <td><div name='circ_modifier'></div></td>
180 <td><div name='cn_label'></div></td>
181 <td colspan='3' style='text-align:left;'>
182 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies' scrollOnFocus='false'>Batch Update</div>
187 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
189 <tbody id='acq-lit-distrib-formula-tbody'>
190 <tr id='acq-lit-distrib-form-row'>
192 <span>Distribution Formulas</span>
193 <div name='selector'></div>
194 <div name='set_button'></div>
195 <div name="reset_button"></div>
200 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
201 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
203 <td colspan="5" id="acq-lit-distrib-applied-heading">
204 Distribution formulas applied to this lineitem:
207 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
209 <td colspan="4"></td>
213 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
214 <tbody style='font-weight:bold;'>
216 <td style='margin-top:30px;'>Owning Branch</td>
217 <td>Shelving Location</td>
218 <td>Collection Code</td>
220 <td>Circ Modifier</td>
227 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
228 <tr id='acq-lit-li-details-row'>
229 <td><div name='owning_lib'></div></td>
230 <td><div name='location'></div></td>
231 <td><div name='collection_code'></div></td>
232 <td><div name='fund'></div></td>
233 <td><div name='circ_modifier'></div></td>
234 <td><div name='cn_label'></div></td>
235 <td><div name='barcode'></div></td>
236 <td><div name='note'></div></td>
237 <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>
238 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;' scrollOnFocus='false'>X</div></td>
245 <!-- Copies table -->
246 <div id='acq-lit-real-copies-div' class='hidden'>
249 <div class='acq-lit-li-menu-bar'>
250 <table style='width:100%'>
252 <td style='text-align:left;'>
253 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button' scrollOnFocus='false'>↖ Return</div>
255 <td style='text-align:right;'>
257 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies' scrollOnFocus='false'>Save Changes</div>
264 <table id='acq-lit-real-copies-table'>
265 <tbody style='font-weight:bold;'>
267 <td style='margin-top:30px;'>Owning Branch</td>
268 <td>Shelving Location</td>
269 <td>Circ Modifier</td>
275 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
276 <tr id='acq-lit-real-copies-row'>
277 <td><div name='owning_lib'></div></td>
278 <td><div name='location'></div></td>
279 <td><div name='circ_modifier'></div></td>
280 <td><div name='label'></div></td>
281 <td><div name='barcode'></div></td>
288 <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
289 [% INCLUDE "default/acq/common/inv_dialog.tt2" which = "li" %]
293 <div class='hidden' id='acq-lit-progress-numbers'>
294 <table class='oils-generic-table'>
297 <td>Lineitems Processed</td>
298 <td><span id='acq-pl-lit-li-processed'>0</span></td>
301 <td>Items Processed</td>
302 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
305 <td>Debits Encumbered</td>
306 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
309 <td>Bib Records Imported</td>
310 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
313 <td>Bib Records Indexed</td>
314 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
317 <td>Copies Processed</td>
318 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
325 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
326 <table class='oils-generic-table'>
328 <td>Ordering Agency</td>
329 <td><div name='ordering_agency' id='acq-lit-po-agency'></div></td>
333 <td><div name='provider' id='acq-lit-po-provider'></div></td>
336 <td>Prepayment Required</td>
337 <td><input id="acq-lit-po-prepay" name="prepayment_required" dojoType="dijit.form.CheckBox"/></td>
340 <td>All Lineitems</td>
341 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
344 <td>Selected Lineitems</td>
345 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
348 <td>Import Bibs and Create Copies</td>
349 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
353 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
361 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
362 <table class='dijitTooltipTable'>
365 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
366 <label for="name">Save selected</label>
367 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
368 <label for="name">Save all</label>
371 <tr><td colspan='2'><hr/></td></tr>
373 <td><label for="new_name">Save as Selection List: </label></td>
374 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
377 <td><label for="existing_pl">Add to Selection List: </label></td>
379 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
380 name="existing_pl" searchAttr='name' displayAttr='name'/>
384 <td colspan='2' align='center'>
385 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
391 <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
392 <label for="acq-lit-lid-cancel-reason">Reason:</label>
393 <span id="acq-lit-lid-cancel-reason"></span>
394 <span dojoType="dijit.form.Button"
395 jsId="acqLidCancelButton">Cancel Copy</span>
397 <div dojoType="dijit.Dialog" jsId="liClaimPolicyDialog">
398 <label for="acq-lit-li-claim-policy">Claim policy:</label>
399 <span id="acq-lit-li-claim-policy"></span>
400 <span dojoType="dijit.form.Button"
401 jsId="liClaimPolicySave">Save</span>
403 <div dojoType="dijit.Dialog" jsId="liClaimDialog">
404 [% INCLUDE "default/acq/common/claim_dialog.tt2" %]
406 <div dojoType="dijit.Dialog" jsId="finalClaimDialog">
407 [% INCLUDE "default/acq/common/final_claim_dialog.tt2" %]
409 <div dojoType="dijit.Dialog" jsId="batchFundUpdateDialog" title="Batch Update Funds">
411 This will update the fund for all copies attached to these lineitems.<br/>
412 This will also update any existing encumbered or spent debits.
415 <table class='oils-generic-table'>
418 <span>Select a new fund:</span>
421 <div id='acq-lit-batch-fund-selector'></div>
425 <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateCancel'>Cancel</button></td>
426 <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateSubmit'>Submit</button></td>
432 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
433 <table class='dijitTooltipTable'>
436 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
437 <label for="name">Mark selected</label>
438 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
439 <label for="name">Mark all</label>
443 <td colspan='2' align='center'>
444 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
445 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
453 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>