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='2' 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>
85 <span name="worksheet">(<a name="worksheet_link" href="javascript:void(0);">✍</a>)</span>
86 <span name='pl' class='hidden'>(<a name='pl_link' href='javascript:void(0);'></a>)</span>
87 <span name='po' class='hidden'>(<a name='po_link' href='javascript:void(0);'>PO</a>)</span>
89 <td rowspan='2' style='text-align:right'>
92 <tr class='acq-lit-alt-row'>
94 <span attr='author'></span>
95 <span attr='isbn'></span>
96 <span attr='issn'></span>
97 <span attr='edition'></span>
98 <span attr='pubdate'></span>
99 <span attr='publisher'></span>
100 <span name='source_label'></span>
106 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
108 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
111 <select name='actions'>
112 <option name='action_none'>-- Actions --</option>
113 <option name='action_mark_recv' disabled='disabled'>Mark Received</option>
114 <option name='action_mark_unrecv' disabled='disabled'>Un-Receive</option>
115 <option name='action_update_barcodes' disabled='disabled'>Update Barcodes</option>
116 <option name='action_holdings_maint' disabled='disabled'>Holdings Maint.</option>
117 <option name='action_new_invoice' disabled='disabled'>New Invoice</option>
118 <option name='action_link_invoice' disabled='disabled'>Link to Invoice</option>
119 <option name='action_view_invoice' disabled='disabled'>View Invoice(s)</option>
120 <option name='action_view_claim_policy'>Apply Claim Policy</option>
121 <option name='action_manage_claims' disabled='disabled'>Claims</option>
122 <option name='action_view_history'>View History</option>
125 <td><span name='li_state'></span></td>
126 <td><input type='text' size='8' name='price'/></td>
132 <!-- Bib record / Lineitem info table -->
133 [% INCLUDE "default/acq/common/info.tt2" which = "Lit" %]
135 <!-- Lineitem notes table -->
136 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
138 <!-- Copies table -->
139 <div id='acq-lit-li-details' class='hidden'>
142 <div class='acq-lit-li-menu-bar'>
143 <table style='width:100%'>
145 <td class="acq-lit-li-menu-left">
146 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
147 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
149 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
150 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
151 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
154 <td class="acq-lit-li-menu-right">
156 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
158 <span id='acq-lit-update-copies-progress' class='hidden'>
159 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
166 <table id='acq-lit-li-details-table'>
167 <tbody style='background-color:#ddd;'>
168 <tr id='acq-lit-li-details-batch-row'>
169 <td><div name='owning_lib'></div></td>
170 <td><div name='location'></div></td>
171 <td><div name='collection_code'></div></td>
172 <td><div name='fund'></div></td>
173 <td><div name='circ_modifier'></div></td>
174 <td><div name='cn_label'></div></td>
175 <td colspan='3' style='text-align:left;'>
176 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
181 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
183 <tbody id='acq-lit-distrib-formula-tbody'>
184 <tr id='acq-lit-distrib-form-row'>
186 <span>Distribution Formulas</span>
187 <div name='selector'></div>
188 <div name='set_button'></div>
189 <div name="reset_button"></div>
194 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
195 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
197 <td colspan="5" id="acq-lit-distrib-applied-heading">
198 Distribution formulas applied to this lineitem:
201 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
203 <td colspan="4"></td>
207 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
208 <tbody style='font-weight:bold;'>
210 <td style='margin-top:30px;'>Owning Branch</td>
211 <td>Shelving Location</td>
212 <td>Collection Code</td>
214 <td>Circ Modifier</td>
221 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
222 <tr id='acq-lit-li-details-row'>
223 <td><div name='owning_lib'></div></td>
224 <td><div name='location'></div></td>
225 <td><div name='collection_code'></div></td>
226 <td><div name='fund'></div></td>
227 <td><div name='circ_modifier'></div></td>
228 <td><div name='cn_label'></div></td>
229 <td><div name='barcode'></div></td>
230 <td><div name='note'></div></td>
231 <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>
232 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
239 <!-- Copies table -->
240 <div id='acq-lit-real-copies-div' class='hidden'>
243 <div class='acq-lit-li-menu-bar'>
244 <table style='width:100%'>
246 <td style='text-align:left;'>
247 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
249 <td style='text-align:right;'>
251 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
258 <table id='acq-lit-real-copies-table'>
259 <tbody style='font-weight:bold;'>
261 <td style='margin-top:30px;'>Owning Branch</td>
262 <td>Shelving Location</td>
263 <td>Circ Modifier</td>
269 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
270 <tr id='acq-lit-real-copies-row'>
271 <td><div name='owning_lib'></div></td>
272 <td><div name='location'></div></td>
273 <td><div name='circ_modifier'></div></td>
274 <td><div name='label'></div></td>
275 <td><div name='barcode'></div></td>
281 <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
282 [% INCLUDE "default/acq/common/inv_dialog.tt2" which = "li" %]
285 <div class='hidden' id='acq-lit-progress-numbers'>
286 <table class='oils-generic-table'>
289 <td>Lineitems Processed</td>
290 <td><span id='acq-pl-lit-li-processed'>0</span></td>
293 <td>Items Processed</td>
294 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
297 <td>Debits Encumbered</td>
298 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
301 <td>Bib Records Imported</td>
302 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
305 <td>Bib Records Indexed</td>
306 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
309 <td>Copies Processed</td>
310 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
317 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
318 <table class='oils-generic-table'>
320 <td>Ordering Agency</td>
321 <td><div name='ordering_agency' id='acq-lit-po-agency'></div></td>
325 <td><div name='provider' id='acq-lit-po-provider'></div></td>
328 <td>Prepayment Required</td>
329 <td><input id="acq-lit-po-prepay" name="prepayment_required" dojoType="dijit.form.CheckBox"/></td>
332 <td>All Lineitems</td>
333 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
336 <td>Selected Lineitems</td>
337 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
340 <td>Import Bibs and Create Copies</td>
341 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
345 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
352 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
353 <table class='dijitTooltipTable'>
356 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
357 <label for="name">Save selected</label>
358 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
359 <label for="name">Save all</label>
362 <tr><td colspan='2'><hr/></td></tr>
364 <td><label for="new_name">Save as Selection List: </label></td>
365 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
368 <td><label for="existing_pl">Add to Selection List: </label></td>
370 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
371 name="existing_pl" searchAttr='name' displayAttr='name'/>
375 <td colspan='2' align='center'>
376 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
383 <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
384 <label for="acq-lit-lid-cancel-reason">Reason:</label>
385 <span id="acq-lit-lid-cancel-reason"></span>
386 <span dojoType="dijit.form.Button"
387 jsId="acqLidCancelButton">Cancel Copy</span>
389 <div dojoType="dijit.Dialog" jsId="liClaimPolicyDialog">
390 <label for="acq-lit-li-claim-policy">Claim policy:</label>
391 <span id="acq-lit-li-claim-policy"></span>
392 <span dojoType="dijit.form.Button"
393 jsId="liClaimPolicySave">Save</span>
395 <div dojoType="dijit.Dialog" jsId="liClaimDialog">
396 [% INCLUDE "default/acq/common/claim_dialog.tt2" %]
398 <div dojoType="dijit.Dialog" jsId="finalClaimDialog">
399 [% INCLUDE "default/acq/common/final_claim_dialog.tt2" %]
401 <div dojoType="dijit.Dialog" jsId="batchFundUpdateDialog" title="Batch Update Funds">
403 This will update the fund for all copies attached to these lineitems.<br/>
404 This will also update any existing encumbered or spent debits.
407 <table class='oils-generic-table'>
410 <span>Select a new fund:</span>
413 <div id='acq-lit-batch-fund-selector'></div>
417 <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateCancel'>Cancel</button></td>
418 <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateSubmit'>Submit</button></td>
424 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
425 <table class='dijitTooltipTable'>
428 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
429 <label for="name">Mark selected</label>
430 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
431 <label for="name">Mark all</label>
435 <td colspan='2' align='center'>
436 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
437 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
445 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>