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>
33 <span id="acq-lit-export-attr-holder" class="hidden">
34 <input dojoType="dijit.form.FilteringSelect" id="acq-lit-export-attr" jsId="acqLitExportAttrSelector" labelAttr="description" searchAttr="description" />
35 <span dojoType="dijit.form.Button" jsId="acqLitExportAttrButton">Export List</span>
37 <span id="acq-lit-cancel-reason" class="hidden">
38 <span id="acq-lit-cancel-reason-selector"></span>
39 <span dojoType="dijit.form.Button" jsId="acqLitCancelLineitemsButton">Cancel Line Items</span>
42 <span id='acq-lit-generic-progress' class='hidden'>
43 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
47 <div style='width:100%;text-align:right;'>
48 <span style='padding-right:15px;'>
49 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
50 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
59 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
60 <tbody style='font-weight:bold;border:1px solid #aaa;'>
62 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
68 <td>Estimated Price</td>
71 <tbody id='acq-lit-tbody'>
72 <tr id='acq-lit-row' class='acq-lit-row'>
73 <td name='selector'><input type='checkbox' name='selectbox'/></td>
74 <td style='width:75%;'>
75 <table style='width:100%;'>
78 <td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
79 <td style='width:70%;font-weight:bold;'>
80 <a attr='title' href='javascript:void(0);'></a>
81 <span name="worksheet">(<a name="worksheet_link" href="javascript:void(0);">✍</a>)</span>
82 <span name='pl' class='hidden'>(<a name='pl_link' href='javascript:void(0);'></a>)</span>
83 <span name='po' class='hidden'>(<a name='po_link' href='javascript:void(0);'>PO</a>)</span>
85 <td rowspan='2' style='text-align:right'>
88 <tr class='acq-lit-alt-row'>
90 <span attr='author'></span>
91 <span attr='isbn'></span>
92 <span attr='issn'></span>
93 <span attr='edition'></span>
94 <span attr='pubdate'></span>
95 <span attr='publisher'></span>
96 <span name='source_label'></span>
102 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
104 <a name='noteslink' href='javascript:void(0);'>Notes(<span name='notes_count'>0</span>)</a><span name="notes_alert_flag"></span>
107 <select name='actions'>
108 <option name='action_none'>-- Actions --</option>
109 <option name='action_mark_recv' disabled='disabled'>Mark Received</option>
110 <option name='action_mark_unrecv' disabled='disabled'>Un-Receive</option>
111 <option name='action_update_barcodes' disabled='disabled'>Update Barcodes</option>
112 <option name='action_holdings_maint' disabled='disabled'>Holdings Maint.</option>
113 <option name='action_new_invoice' disabled='disabled'>New Invoice</option>
114 <option name='action_link_invoice' disabled='disabled'>Link to Invoice</option>
115 <option name='action_view_invoice' disabled='disabled'>View Invoice(s)</option>
116 <option name='action_view_claim_policy'>Apply Claim Policy</option>
117 <option name='action_manage_claims' disabled='disabled'>Claims ( existing)</option>
120 <td><span name='li_state'></span></td>
121 <td><input type='text' size='8' name='price'/></td>
127 <!-- Bib record / Lineitem info table -->
128 [% INCLUDE "default/acq/common/info.tt2" which = "Lit" %]
130 <!-- Lineitem notes table -->
131 [% INCLUDE "default/acq/common/notes.tt2" which = "Lit" %]
133 <!-- Copies table -->
134 <div id='acq-lit-li-details' class='hidden'>
137 <div class='acq-lit-li-menu-bar'>
138 <table style='width:100%'>
140 <td class="acq-lit-li-menu-left">
141 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
142 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
144 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
145 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input>
146 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
149 <td class="acq-lit-li-menu-right">
151 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
153 <span id='acq-lit-update-copies-progress' class='hidden'>
154 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
161 <table id='acq-lit-li-details-table'>
162 <tbody style='background-color:#ddd;'>
163 <tr id='acq-lit-li-details-batch-row'>
164 <td><div name='owning_lib'></div></td>
165 <td><div name='location'></div></td>
166 <td><div name='collection_code'></div></td>
167 <td><div name='fund'></div></td>
168 <td><div name='circ_modifier'></div></td>
169 <td><div name='cn_label'></div></td>
170 <td colspan='3' style='text-align:left;'>
171 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
176 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
178 <tbody id='acq-lit-distrib-formula-tbody'>
179 <tr id='acq-lit-distrib-form-row'>
181 <span>Distribution Formulas</span>
182 <div name='selector'></div>
183 <div name='set_button'></div>
184 <div name="reset_button"></div>
189 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
190 <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
192 <td colspan="5" id="acq-lit-distrib-applied-heading">
193 Distribution formulas applied to this lineitem:
196 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
198 <td colspan="4"></td>
202 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
203 <tbody style='font-weight:bold;'>
205 <td style='margin-top:30px;'>Owning Branch</td>
206 <td>Shelving Location</td>
207 <td>Collection Code</td>
209 <td>Circ Modifier</td>
216 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
217 <tr id='acq-lit-li-details-row'>
218 <td><div name='owning_lib'></div></td>
219 <td><div name='location'></div></td>
220 <td><div name='collection_code'></div></td>
221 <td><div name='fund'></div></td>
222 <td><div name='circ_modifier'></div></td>
223 <td><div name='cn_label'></div></td>
224 <td><div name='barcode'></div></td>
225 <td><div name='note'></div></td>
226 <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></td>
227 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
234 <!-- Copies table -->
235 <div id='acq-lit-real-copies-div' class='hidden'>
238 <div class='acq-lit-li-menu-bar'>
239 <table style='width:100%'>
241 <td style='text-align:left;'>
242 <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button'>↖ Return</div>
244 <td style='text-align:right;'>
246 <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies'>Save Changes</div>
253 <table id='acq-lit-real-copies-table'>
254 <tbody style='font-weight:bold;'>
256 <td style='margin-top:30px;'>Owning Branch</td>
257 <td>Shelving Location</td>
258 <td>Circ Modifier</td>
264 <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
265 <tr id='acq-lit-real-copies-row'>
266 <td><div name='owning_lib'></div></td>
267 <td><div name='location'></div></td>
268 <td><div name='circ_modifier'></div></td>
269 <td><div name='label'></div></td>
270 <td><div name='barcode'></div></td>
276 <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
277 [% INCLUDE "default/acq/common/inv_dialog.tt2" which = "li" %]
280 <div class='hidden' id='acq-lit-progress-numbers'>
281 <table class='oils-generic-table'>
284 <td>Lineitems Processed</td>
285 <td><span id='acq-pl-lit-li-processed'>0</span></td>
288 <td>Items Processed</td>
289 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
292 <td>Debits Encumbered</td>
293 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
296 <td>Bib Records Imported</td>
297 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
300 <td>Bib Records Indexed</td>
301 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
304 <td>Copies Processed</td>
305 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
312 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
313 <table class='oils-generic-table'>
315 <td>Ordering Agency</td>
316 <td><div name='ordering_agency' id='acq-lit-po-agency'></div></td>
320 <td><div name='provider' id='acq-lit-po-provider'></div></td>
323 <td>Prepayment Required</td>
324 <td><input id="acq-lit-po-prepay" name="prepayment_required" dojoType="dijit.form.CheckBox"/></td>
327 <td>All Lineitems</td>
328 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
331 <td>Selected Lineitems</td>
332 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
335 <td>Import Bibs and Create Copies</td>
336 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
340 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
347 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
348 <table class='dijitTooltipTable'>
351 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
352 <label for="name">Save selected</label>
353 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
354 <label for="name">Save all</label>
357 <tr><td colspan='2'><hr/></td></tr>
359 <td><label for="new_name">Save as Selection List: </label></td>
360 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
363 <td><label for="existing_pl">Add to Selection List: </label></td>
365 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
366 name="existing_pl" searchAttr='name' displayAttr='name'/>
370 <td colspan='2' align='center'>
371 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
378 <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
379 <label for="acq-lit-lid-cancel-reason">Reason:</label>
380 <span id="acq-lit-lid-cancel-reason"></span>
381 <span dojoType="dijit.form.Button"
382 jsId="acqLidCancelButton">Cancel Copy</span>
384 <div dojoType="dijit.Dialog" jsId="liClaimPolicyDialog">
385 <label for="acq-lit-li-claim-policy">Claim policy:</label>
386 <span id="acq-lit-li-claim-policy"></span>
387 <span dojoType="dijit.form.Button"
388 jsId="liClaimPolicySave">Save</span>
390 <div dojoType="dijit.Dialog" jsId="liClaimDialog">
391 [% INCLUDE "default/acq/common/claim_dialog.tt2" %]
393 <div dojoType="dijit.Dialog" jsId="finalClaimDialog">
394 [% INCLUDE "default/acq/common/final_claim_dialog.tt2" %]
398 <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
399 <table class='dijitTooltipTable'>
402 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
403 <label for="name">Mark selected</label>
404 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
405 <label for="name">Mark all</label>
409 <td colspan='2' align='center'>
410 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>Cancel</button>
411 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>Go</button>
419 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>