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='pl' value='create_order'>Create Purchase Order</option>
20 <option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
21 <option mask='po' value='print_po'>Print Purchase Order</option>
22 <option mask='po' value='create_assets'>Create PO Assets</option>
23 <option mask='*' value='delete_selected'>Delete Selected Items</option>
26 <span id='acq-lit-generic-progress' class='hidden'>
27 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
31 <div style='width:100%;text-align:right;'>
32 <span style='padding-right:15px;'>
33 <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>« Previous</a>
34 <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>Next »</a>
43 <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
44 <tbody style='font-weight:bold;border:1px solid #aaa;'>
46 <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>✓</a></span></td>
48 <td>Estimated Price</td>
52 <tbody id='acq-lit-tbody'>
53 <tr id='acq-lit-row' class='acq-lit-row'>
54 <td name='selector'><input type='checkbox' name='selectbox'/></td>
55 <td style='width:100%;'>
56 <table style='width:100%;'>
59 <td rowspan='2' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></img></td>
60 <td style='width:70%;font-weight:bold;'><a attr='title' href='javascript:void(0);'></a></td>
61 <td rowspan='2' style='text-align:right'>
64 <tr class='acq-lit-alt-row'>
66 <span attr='author'></span>
67 <span attr='isbn'></span>
68 <span attr='issn'></span>
69 <span attr='edition'></span>
70 <span attr='pubdate'></span>
71 <span attr='publisher'></span>
72 <span name='source_label'/>
79 <input type='text' size='8' name='estimated_price'/>
82 <a name='copieslink' href='javascript:void(0);'
83 style='margin-right:20px;'>Copies(<span name='count'></span>)</a>
90 <!-- Bib record / Lineitem details table -->
91 <div id='acq-lit-info-div' class='hidden'>
92 <div class='acq-lit-li-menu-bar'>
93 <div dojoType='dijit.form.Button' id='acq-lit-info-back-button'>↖ Return</div>
96 <tbody id='acq-lit-info-tbody'>
97 <tr id='acq-lit-info-row'><td name='label'/><td name='value'/></tr>
100 <div style='margin-top:40px;'>
103 <div dojoType='dijit.form.Button' jsId='acqLitEditMarc'>Edit MARC Record</div>
105 <div id='acq-lit-marc-div' style='margin-top:20px;'> </div>
109 <!-- Copies table -->
110 <div id='acq-lit-li-details' class='hidden'>
113 <div class='acq-lit-li-menu-bar'>
114 <table style='width:100%'>
116 <td style='text-align:left;'>
117 <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button'>↖ Return</div>
118 <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
120 <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'
121 constraints="{min:1,max:1000,places:0}" style='width:40px' value='1'></input>
122 <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount'>Go</div>
125 <td style='text-align:right;'>
126 <span id='acq-lit-update-copies-progress' class='hidden'>
127 <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
130 <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies'>Save Changes</div>
137 <table id='acq-lit-li-details-table'>
138 <tbody style='background-color:#ddd;'>
139 <tr id='acq-lit-li-details-batch-row'>
140 <td><div name='owning_lib'/></td>
141 <td><div name='location'/></td>
142 <td><div name='fund'/></td>
143 <td colspan='3' style='text-align:left;'>
144 <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
151 <a href='javascript:void(0);'
152 onclick='openils.Util.toggle("acq-lit-distrib-formula-tbody");'>Distribution Formulas</a>
156 <tbody id='acq-lit-distrib-formula-tbody' class='hidden'>
157 <tr id='acq-lit-distrib-form-row'>
158 <td name='selector'/>
159 <td name='setbutton'/>
162 <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
163 <tbody style='font-weight:bold;'>
165 <td style='margin-top:30px;'>Owning Branch</td>
166 <td>Shelving Location</td>
173 <tbody id='acq-lit-li-details-tbody'>
174 <tr id='acq-lit-li-details-row'>
175 <td><div name='owning_lib'/></td>
176 <td><div name='location'/></td>
177 <td><div name='fund'/></td>
178 <td><div name='barcode'/></td>
179 <td><div name='cn_label'/></td>
180 <td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
186 <div class='hidden' id='acq-lit-create-po-progress'>
187 <table class='oils-generic-table'>
189 <td>Encumbered Funds:</td>
190 <td><span id='acq-lit-po-encumbered'></span></td>
193 <td>Copies Created:</td>
194 <td><span id='acq-lit-po-copies'></span></td>
197 <td>Total Progress: </td>
198 <td><span dojoType="dijit.ProgressBar" style="width:300px" jsId="litPoTotalProgress"></span></td>
204 <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
205 <table class='oils-generic-table'>
208 <td><div name='provider' id='acq-lit-po-provider'/></td>
211 <td>All Lineitems</td>
212 <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
215 <td>Selected Lineitems</td>
216 <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
220 <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>Submit</div>
227 <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
228 <table class='dijitTooltipTable'>
231 <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
232 <label for="name">Save selected</label>
233 <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
234 <label for="name">Save all</label>
237 <tr><td colspan='2'><hr/></td></tr>
239 <td><label for="new_name">Save as Selection List: </label></td>
240 <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
243 <td><label for="existing_pl">Add to Selection List: </label></td>
245 <input jsId='acqLitAddExistingSelect' dojoType="dijit.form.FilteringSelect"
246 name="existing_pl" searchAttr='name' displayAttr='name'/>
250 <td colspan='2' align='center'>
251 <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>Save</button>
258 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>
259 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialogInd' indeterminate='true'/>