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='po' value='' disabled='disabled'>----PO----</option>
25 <option mask='sr|pl' value='create_order'>Create Purchase Order</option>
26 <option mask='po' value='create_assets'>Load Bibs and Items</option>
27 <option mask='po' value='cancel_lineitems'>Cancel Selected Lineitems</option>
28 <option mask='po' value='change_claim_policy'>Change Claim Policy</option>
29 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
30 <option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
31 <option mask='po' value='print_po'>Print Purchase Order</option>
32 <option mask='po' value='po_history'>View PO History</option>
34 <span id="acq-lit-export-attr-holder" class="hidden">
35 <input dojoType="dijit.form.FilteringSelect" id="acq-lit-export-attr" jsId="acqLitExportAttrSelector" labelAttr="description" searchAttr="description" />
36 <span dojoType="dijit.form.Button" jsId="acqLitExportAttrButton">Export List</span>
38 <span id="acq-lit-cancel-reason" class="hidden">
39 <span id="acq-lit-cancel-reason-selector"></span>
40 <span dojoType="dijit.form.Button" jsId="acqLitCancelLineitemsButton">Cancel Line Items</span>
43 <span id='acq-lit-generic-progress' class='hidden'>
44 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
48 <div style='width:100%;text-align:right;'>
49 <span style='padding-right:15px;'>
50 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
51 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
60 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
61 <tbody style='font-weight:bold;border:1px solid #aaa;'>
63 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
69 <td>Estimated Price</td>
72 <tbody id='acq-lit-tbody'>
73 <tr id='acq-lit-row' class='acq-lit-row'>
74 <td name='selector'><input type='checkbox' name='selectbox'/></td>
75 <td style='width:75%;'>
76 <table style='width:100%;'>
79 <td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
80 <td style='width:70%;font-weight:bold;'>
81 <a attr='title' href='javascript:void(0);'></a>
82 <span name="worksheet">(<a name="worksheet_link" href="javascript:void(0);">✍</a>)</span>
83 <span name='pl' class='hidden'>(<a name='pl_link' href='javascript:void(0);'></a>)</span>
84 <span name='po' class='hidden'>(<a name='po_link' href='javascript:void(0);'>PO</a>)</span>
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>
103 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
105 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
108 <select name='actions'>
109 <option name='action_none'>-- Actions --</option>
110 <option name='action_mark_recv' disabled='disabled'>Mark Received</option>
111 <option name='action_mark_unrecv' disabled='disabled'>Un-Receive</option>
112 <option name='action_update_barcodes' disabled='disabled'>Update Barcodes</option>
113 <option name='action_holdings_maint' disabled='disabled'>Holdings Maint.</option>
114 <option name='action_new_invoice' disabled='disabled'>New Invoice</option>
115 <option name='action_link_invoice' disabled='disabled'>Link to Invoice</option>
116 <option name='action_view_invoice' disabled='disabled'>View Invoice(s)</option>
117 <option name='action_view_claim_policy'>Apply Claim Policy</option>
118 <option name='action_manage_claims' disabled='disabled'>Claims</option>
119 <option name='action_view_history'>View History</option>
122 <td><span name='li_state'></span></td>
123 <td><input type='text' size='8' name='price'/></td>
129 <!-- Bib record / Lineitem info table -->
130 [% INCLUDE "default/acq/common/info.tt2" which = "Lit" %]
132 <!-- Lineitem notes table -->
133 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
135 <!-- Copies table -->
136 <div id='acq-lit-li-details' class='hidden'>
139 <div class='acq-lit-li-menu-bar'>
140 <table style='width:100%'>
142 <td class="acq-lit-li-menu-left">
143 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
144 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
146 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
147 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
148 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
151 <td class="acq-lit-li-menu-right">
153 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
155 <span id='acq-lit-update-copies-progress' class='hidden'>
156 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
163 <table id='acq-lit-li-details-table'>
164 <tbody style='background-color:#ddd;'>
165 <tr id='acq-lit-li-details-batch-row'>
166 <td><div name='owning_lib'></div></td>
167 <td><div name='location'></div></td>
168 <td><div name='collection_code'></div></td>
169 <td><div name='fund'></div></td>
170 <td><div name='circ_modifier'></div></td>
171 <td><div name='cn_label'></div></td>
172 <td colspan='3' style='text-align:left;'>
173 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
178 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
180 <tbody id='acq-lit-distrib-formula-tbody'>
181 <tr id='acq-lit-distrib-form-row'>
183 <span>Distribution Formulas</span>
184 <div name='selector'></div>
185 <div name='set_button'></div>
186 <div name="reset_button"></div>
191 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
192 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
194 <td colspan="5" id="acq-lit-distrib-applied-heading">
195 Distribution formulas applied to this lineitem:
198 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
200 <td colspan="4"></td>
204 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
205 <tbody style='font-weight:bold;'>
207 <td style='margin-top:30px;'>Owning Branch</td>
208 <td>Shelving Location</td>
209 <td>Collection Code</td>
211 <td>Circ Modifier</td>
218 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
219 <tr id='acq-lit-li-details-row'>
220 <td><div name='owning_lib'></div></td>
221 <td><div name='location'></div></td>
222 <td><div name='collection_code'></div></td>
223 <td><div name='fund'></div></td>
224 <td><div name='circ_modifier'></div></td>
225 <td><div name='cn_label'></div></td>
226 <td><div name='barcode'></div></td>
227 <td><div name='note'></div></td>
228 <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>
229 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
236 <!-- Copies table -->
237 <div id='acq-lit-real-copies-div' class='hidden'>
240 <div class='acq-lit-li-menu-bar'>
241 <table style='width:100%'>
243 <td style='text-align:left;'>
244 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
246 <td style='text-align:right;'>
248 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
255 <table id='acq-lit-real-copies-table'>
256 <tbody style='font-weight:bold;'>
258 <td style='margin-top:30px;'>Owning Branch</td>
259 <td>Shelving Location</td>
260 <td>Circ Modifier</td>
266 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
267 <tr id='acq-lit-real-copies-row'>
268 <td><div name='owning_lib'></div></td>
269 <td><div name='location'></div></td>
270 <td><div name='circ_modifier'></div></td>
271 <td><div name='label'></div></td>
272 <td><div name='barcode'></div></td>
278 <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
279 [% INCLUDE "default/acq/common/inv_dialog.tt2" which = "li" %]
282 <div class='hidden' id='acq-lit-progress-numbers'>
283 <table class='oils-generic-table'>
286 <td>Lineitems Processed</td>
287 <td><span id='acq-pl-lit-li-processed'>0</span></td>
290 <td>Items Processed</td>
291 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
294 <td>Debits Encumbered</td>
295 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
298 <td>Bib Records Imported</td>
299 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
302 <td>Bib Records Indexed</td>
303 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
306 <td>Copies Processed</td>
307 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
314 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
315 <table class='oils-generic-table'>
317 <td>Ordering Agency</td>
318 <td><div name='ordering_agency' id='acq-lit-po-agency'></div></td>
322 <td><div name='provider' id='acq-lit-po-provider'></div></td>
325 <td>Prepayment Required</td>
326 <td><input id="acq-lit-po-prepay" name="prepayment_required" dojoType="dijit.form.CheckBox"/></td>
329 <td>All Lineitems</td>
330 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
333 <td>Selected Lineitems</td>
334 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
337 <td>Import Bibs and Create Copies</td>
338 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
342 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
349 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
350 <table class='dijitTooltipTable'>
353 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
354 <label for="name">Save selected</label>
355 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
356 <label for="name">Save all</label>
359 <tr><td colspan='2'><hr/></td></tr>
361 <td><label for="new_name">Save as Selection List: </label></td>
362 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
365 <td><label for="existing_pl">Add to Selection List: </label></td>
367 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
368 name="existing_pl" searchAttr='name' displayAttr='name'/>
372 <td colspan='2' align='center'>
373 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
380 <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
381 <label for="acq-lit-lid-cancel-reason">Reason:</label>
382 <span id="acq-lit-lid-cancel-reason"></span>
383 <span dojoType="dijit.form.Button"
384 jsId="acqLidCancelButton">Cancel Copy</span>
386 <div dojoType="dijit.Dialog" jsId="liClaimPolicyDialog">
387 <label for="acq-lit-li-claim-policy">Claim policy:</label>
388 <span id="acq-lit-li-claim-policy"></span>
389 <span dojoType="dijit.form.Button"
390 jsId="liClaimPolicySave">Save</span>
392 <div dojoType="dijit.Dialog" jsId="liClaimDialog">
393 [% INCLUDE "default/acq/common/claim_dialog.tt2" %]
395 <div dojoType="dijit.Dialog" jsId="finalClaimDialog">
396 [% INCLUDE "default/acq/common/final_claim_dialog.tt2" %]
400 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
401 <table class='dijitTooltipTable'>
404 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
405 <label for="name">Mark selected</label>
406 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
407 <label for="name">Mark all</label>
411 <td colspan='2' align='center'>
412 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
413 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
421 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>