1 <script src='[% ctx.media_prefix %]/js/ui/default/acq/common/li_table.js'> </script>
2 <div id='acq-lit-table-container'>
3 <div id='acq-lit-table-div' class='hidden'>
5 <!-- Lineitem (bib record) list -->
6 <table id='acq-lit-table' class='oils-generic-table'>
10 <table style='width:100%;'>
14 <select dojoType='dijit.form.FilteringSelect' value='_' jsId='acqLitLiActionsSelector'>
15 <option mask='*' value='_'>--Actions--</option>
16 <option mask='sr' value='save_picklist'>Save Items To Selection List</option>
17 <option mask='pl' value='selector_ready'>Mark Ready for Selector</option>
18 <option mask='pl' value='order_ready'>Mark Ready for Order</option>
19 <option mask='*' value='delete_selected'>Delete Selected Items</option>
20 <option mask='po' value='' disabled='disabled'>----PO----</option>
21 <option mask='sr|pl' value='create_order'>Create Purchase Order</option>
22 <option mask='po' value='create_assets'>Load Bibs and Items</option>
23 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
24 <option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
25 <option mask='po' value='print_po'>Print Purchase Order</option>
28 <span id='acq-lit-generic-progress' class='hidden'>
29 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
33 <div style='width:100%;text-align:right;'>
34 <span style='padding-right:15px;'>
35 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
36 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
45 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
46 <tbody style='font-weight:bold;border:1px solid #aaa;'>
48 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
56 <tbody id='acq-lit-tbody'>
57 <tr id='acq-lit-row' class='acq-lit-row'>
58 <td name='selector'><input type='checkbox' name='selectbox'/></td>
59 <td style='width:75%;'>
60 <table style='width:100%;'>
63 <td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
64 <td style='width:70%;font-weight:bold;'><a attr='title' href='javascript:void(0);'></a></td>
65 <td rowspan='2' style='text-align:right'>
68 <tr class='acq-lit-alt-row'>
70 <span attr='author'></span>
71 <span attr='isbn'></span>
72 <span attr='issn'></span>
73 <span attr='edition'></span>
74 <span attr='pubdate'></span>
75 <span attr='publisher'></span>
76 <span name='source_label'></span>
82 <td><a name='receive_link' href='javascript:void(0);'>Mark Received</a></td>
83 <td><input type='text' size='8' name='price'/></td>
84 <td><a name='copieslink' href='javascript:void(0);'>Copies(<span name='count'>0</span>)</a></td>
86 <a name='noteslink' href='javascript:void(0);'
87 style='margin-right:15px;'>Notes(<span name='notes_count'>0</span>)</a>
94 <!-- Bib record / Lineitem details table -->
95 <div id='acq-lit-info-div' class='hidden'>
96 <div class='acq-lit-li-menu-bar'>
97 <div dojoType='dijit.form.Button' id='acq-lit-info-back-button'>↖ Return</div>
100 <tbody id='acq-lit-info-tbody'>
101 <tr id='acq-lit-info-row'><td name='label'/><td name='value'/></tr>
104 <div style='margin-top:10px;' class='hidden' id='acq-lit-info-cat-link'>
105 View in the <a href='/opac/en-US/skin/default/xml/rdetail.xml?r='>Catalog</a>
107 <div style='margin-top:40px;'>
108 <h3 id='acq-lit-marc-order-record-label'>MARC Order Record</h3>
109 <h3 id='acq-lit-marc-real-record-label'>MARC ILS Record</h3>
111 <div dojoType='dijit.form.Button' jsId='acqLitEditOrderMarc' class='hidden'>Edit MARC Order Record</div>
113 <div id='acq-lit-marc-div' style='margin-top:20px;'> </div>
117 <!-- Lineitem notes table -->
118 <div id='acq-lit-notes-div' class='hidden'>
120 <div class='acq-lit-li-menu-bar'>
121 <table style='width:100%'>
123 <td style='text-align:left;'>
124 <div dojoType='dijit.form.Button' id='acq-lit-notes-back-button'>↖ Return</div>
126 <td style='text-align:right;'>
127 <div dojoType="dijit.form.DropDownButton">
128 <span>New Note</span>
129 <div dojoType="dijit.TooltipDialog">
131 <div jsId='acqLitCreateNoteText' dojoType='dijit.form.Textarea' style='height:5em; width:25em;' name='note'></div>
133 <button jsId='acqLitCreateLiNoteSubmit' dojoType='dijit.form.Button' type="submit">Create</button>
137 <div dojoType='dijit.form.Button' id='acq-lit-notes-save-button'>Save Changes</div>
143 <ol id='acq-lit-notes-tbody'>
144 <li id='acq-lit-notes-row'>
145 <table style='width:100%;' class='oils-generic-table'>
147 <td width='70%' align='left'><span style='font-size:120%' name='value'></span></td>
148 <td align='right' style='padding-right:30px;'>
149 <span name='edit_time'></span>
150 <span style='padding-left:4px;'><a name='delete' href='javascript:void(0);' style='color:red;'>Delete</a></span>
158 <!-- Copies table -->
159 <div id='acq-lit-li-details' class='hidden'>
162 <div class='acq-lit-li-menu-bar'>
163 <table style='width:100%'>
165 <td style='text-align:left;'>
166 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
167 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
169 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
170 constraints="{min:1,max:1000,places:0}" style='width:40px' value='1'></input>
171 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
174 <td style='text-align:right;'>
175 <span id='acq-lit-update-copies-progress' class='hidden'>
176 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
179 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
186 <table id='acq-lit-li-details-table'>
187 <tbody style='background-color:#ddd;'>
188 <tr id='acq-lit-li-details-batch-row'>
189 <td><div name='owning_lib'/></td>
190 <td><div name='location'/></td>
191 <td><div name='fund'/></td>
192 <td><div name='circ_modifier'/></td>
193 <td><div name='cn_label'/></td>
194 <td colspan='3' style='text-align:left;'>
195 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
202 <a href='javascript:void(0);'
203 onclick='openils.Util.toggle("acq-lit-distrib-formula-tbody");'>Distribution Formulas</a>
207 <tbody id='acq-lit-distrib-formula-tbody' class='hidden'>
208 <tr id='acq-lit-distrib-form-row'>
209 <td name='selector'/>
210 <td name='setbutton'/>
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>
219 <td>Circ Modifier</td>
226 <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
227 <tr id='acq-lit-li-details-row'>
228 <td><div name='owning_lib'/></td>
229 <td><div name='location'/></td>
230 <td><div name='fund'/></td>
231 <td><div name='circ_modifier'/></td>
232 <td><div name='cn_label'/></td>
233 <td><div name='barcode'/></td>
234 <td><div name='note'/></td>
235 <td><a href='javascript:void(0);' name='receive'>Mark Received</a></td>
236 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
242 <div class='hidden' id='acq-lit-progress-numbers'>
243 <table class='oils-generic-table'>
246 <td>Lineitems Processed</td>
247 <td><span id='acq-pl-lit-li-processed'>0</span></td>
250 <td>Items Processed</td>
251 <td><span id='acq-pl-lit-lid-processed'>0</span></td>
254 <td>Debits Encumbered</td>
255 <td><span id='acq-pl-lit-debits-processed'>0</span></td>
258 <td>Bib Records Imported</td>
259 <td><span id='acq-pl-lit-bibs-processed'>0</span></td>
262 <td>Bib Records Indexed</td>
263 <td><span id='acq-pl-lit-indexed-processed'>0</span></td>
266 <td>Copies Processed</td>
267 <td><span id='acq-pl-lit-copies-processed'>0</span></td>
274 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
275 <table class='oils-generic-table'>
278 <td><div name='provider' id='acq-lit-po-provider'/></td>
281 <td>All Lineitems</td>
282 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
285 <td>Selected Lineitems</td>
286 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
289 <td>Import Bibs and Create Copies</td>
290 <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
294 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
301 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
302 <table class='dijitTooltipTable'>
305 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
306 <label for="name">Save selected</label>
307 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
308 <label for="name">Save all</label>
311 <tr><td colspan='2'><hr/></td></tr>
313 <td><label for="new_name">Save as Selection List: </label></td>
314 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
317 <td><label for="existing_pl">Add to Selection List: </label></td>
319 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
320 name="existing_pl" searchAttr='name' displayAttr='name'/>
324 <td colspan='2' align='center'>
325 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
332 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>