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'></img></td>
81 <td style='width:70%;font-weight:bold;'>
82 <a attr='title' href='javascript:void(0);'></a>
83 <span name="worksheet">(<a name="worksheet_link" href="javascript:void(0);">✍</a>)</span>
84 <span name='pl' class='hidden'>(<a name='pl_link' href='javascript:void(0);'></a>)</span>
85 <span name='po' class='hidden'>(<a name='po_link' href='javascript:void(0);'>PO</a>)</span>
87 <td rowspan='2' style='text-align:right'>
90 <tr class='acq-lit-alt-row'>
92 <span attr='author'></span>
93 <span attr='isbn'></span>
94 <span attr='issn'></span>
95 <span attr='edition'></span>
96 <span attr='pubdate'></span>
97 <span attr='publisher'></span>
98 <span name='source_label'></span>
104 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
106 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
109 <select name='actions'>
110 <option name='action_none'>-- Actions --</option>
111 <option name='action_mark_recv' disabled='disabled'>Mark Received</option>
112 <option name='action_mark_unrecv' disabled='disabled'>Un-Receive</option>
113 <option name='action_update_barcodes' disabled='disabled'>Update Barcodes</option>
114 <option name='action_holdings_maint' disabled='disabled'>Holdings Maint.</option>
115 <option name='action_new_invoice' disabled='disabled'>New Invoice</option>
116 <option name='action_link_invoice' disabled='disabled'>Link to Invoice</option>
117 <option name='action_view_invoice' disabled='disabled'>View Invoice(s)</option>
118 <option name='action_view_claim_policy'>Apply Claim Policy</option>
119 <option name='action_manage_claims' disabled='disabled'>Claims</option>
120 <option name='action_view_history'>View History</option>
123 <td><span name='li_state'></span></td>
124 <td><input type='text' size='8' name='price'/></td>
130 <!-- Bib record / Lineitem info table -->
131 [% INCLUDE "default/acq/common/info.tt2" which = "Lit" %]
133 <!-- Lineitem notes table -->
134 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
136 <!-- Copies table -->
137 <div id='acq-lit-li-details' class='hidden'>
140 <div class='acq-lit-li-menu-bar'>
141 <table style='width:100%'>
143 <td class="acq-lit-li-menu-left">
144 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
145 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
147 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
148 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
149 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
152 <td class="acq-lit-li-menu-right">
154 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
156 <span id='acq-lit-update-copies-progress' class='hidden'>
157 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
164 <table id='acq-lit-li-details-table'>
165 <tbody style='background-color:#ddd;'>
166 <tr id='acq-lit-li-details-batch-row'>
167 <td><div name='owning_lib'></div></td>
168 <td><div name='location'></div></td>
169 <td><div name='collection_code'></div></td>
170 <td><div name='fund'></div></td>
171 <td><div name='circ_modifier'></div></td>
172 <td><div name='cn_label'></div></td>
173 <td colspan='3' style='text-align:left;'>
174 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
179 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
181 <tbody id='acq-lit-distrib-formula-tbody'>
182 <tr id='acq-lit-distrib-form-row'>
184 <span>Distribution Formulas</span>
185 <div name='selector'></div>
186 <div name='set_button'></div>
187 <div name="reset_button"></div>
192 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
193 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
195 <td colspan="5" id="acq-lit-distrib-applied-heading">
196 Distribution formulas applied to this lineitem:
199 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
201 <td colspan="4"></td>
205 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
206 <tbody style='font-weight:bold;'>
208 <td style='margin-top:30px;'>Owning Branch</td>
209 <td>Shelving Location</td>
210 <td>Collection Code</td>
212 <td>Circ Modifier</td>
219 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
220 <tr id='acq-lit-li-details-row'>
221 <td><div name='owning_lib'></div></td>
222 <td><div name='location'></div></td>
223 <td><div name='collection_code'></div></td>
224 <td><div name='fund'></div></td>
225 <td><div name='circ_modifier'></div></td>
226 <td><div name='cn_label'></div></td>
227 <td><div name='barcode'></div></td>
228 <td><div name='note'></div></td>
229 <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>
230 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
237 <!-- Copies table -->
238 <div id='acq-lit-real-copies-div' class='hidden'>
241 <div class='acq-lit-li-menu-bar'>
242 <table style='width:100%'>
244 <td style='text-align:left;'>
245 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
247 <td style='text-align:right;'>
249 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
256 <table id='acq-lit-real-copies-table'>
257 <tbody style='font-weight:bold;'>
259 <td style='margin-top:30px;'>Owning Branch</td>
260 <td>Shelving Location</td>
261 <td>Circ Modifier</td>
267 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
268 <tr id='acq-lit-real-copies-row'>
269 <td><div name='owning_lib'></div></td>
270 <td><div name='location'></div></td>
271 <td><div name='circ_modifier'></div></td>
272 <td><div name='label'></div></td>
273 <td><div name='barcode'></div></td>
279 <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
280 [% INCLUDE "default/acq/common/inv_dialog.tt2" which = "li" %]
283 <div class='hidden' id='acq-lit-progress-numbers'>
284 <table class='oils-generic-table'>
287 <td>Lineitems Processed</td>
288 <td><span id='acq-pl-lit-li-processed'>0</span></td>
291 <td>Items Processed</td>
292 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
295 <td>Debits Encumbered</td>
296 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
299 <td>Bib Records Imported</td>
300 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
303 <td>Bib Records Indexed</td>
304 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
307 <td>Copies Processed</td>
308 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
315 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
316 <table class='oils-generic-table'>
318 <td>Ordering Agency</td>
319 <td><div name='ordering_agency' id='acq-lit-po-agency'></div></td>
323 <td><div name='provider' id='acq-lit-po-provider'></div></td>
326 <td>Prepayment Required</td>
327 <td><input id="acq-lit-po-prepay" name="prepayment_required" dojoType="dijit.form.CheckBox"/></td>
330 <td>All Lineitems</td>
331 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
334 <td>Selected Lineitems</td>
335 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
338 <td>Import Bibs and Create Copies</td>
339 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
343 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
350 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
351 <table class='dijitTooltipTable'>
354 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
355 <label for="name">Save selected</label>
356 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
357 <label for="name">Save all</label>
360 <tr><td colspan='2'><hr/></td></tr>
362 <td><label for="new_name">Save as Selection List: </label></td>
363 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
366 <td><label for="existing_pl">Add to Selection List: </label></td>
368 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
369 name="existing_pl" searchAttr='name' displayAttr='name'/>
373 <td colspan='2' align='center'>
374 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
381 <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
382 <label for="acq-lit-lid-cancel-reason">Reason:</label>
383 <span id="acq-lit-lid-cancel-reason"></span>
384 <span dojoType="dijit.form.Button"
385 jsId="acqLidCancelButton">Cancel Copy</span>
387 <div dojoType="dijit.Dialog" jsId="liClaimPolicyDialog">
388 <label for="acq-lit-li-claim-policy">Claim policy:</label>
389 <span id="acq-lit-li-claim-policy"></span>
390 <span dojoType="dijit.form.Button"
391 jsId="liClaimPolicySave">Save</span>
393 <div dojoType="dijit.Dialog" jsId="liClaimDialog">
394 [% INCLUDE "default/acq/common/claim_dialog.tt2" %]
396 <div dojoType="dijit.Dialog" jsId="finalClaimDialog">
397 [% INCLUDE "default/acq/common/final_claim_dialog.tt2" %]
399 <div dojoType="dijit.Dialog" jsId="batchFundUpdateDialog" title="Batch Update Funds">
401 This will update the fund for all copies attached to these lineitems.<br/>
402 This will also update any existing encumbered or spent debits.
405 <table class='oils-generic-table'>
408 <span>Select a new fund:</span>
411 <div id='acq-lit-batch-fund-selector'></div>
415 <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateCancel'>Cancel</button></td>
416 <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateSubmit'>Submit</button></td>
422 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
423 <table class='dijitTooltipTable'>
426 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
427 <label for="name">Mark selected</label>
428 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
429 <label for="name">Mark all</label>
433 <td colspan='2' align='center'>
434 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
435 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
443 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>