8e1c20933aa9ed8772c6fb0efabdde313025ffee
[working/Evergreen.git] / Open-ILS / src / templates / acq / common / li_table.tt2
1 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/acq/common/base64.js"> </script>
2 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/acq/common/vlagent.js'> </script>
3 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/acq/common/li_table.js'> </script>
4 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/acq/financial/claim_voucher.js'> </script>
5 <div id='acq-lit-table-container'>
6     <div id='acq-lit-table-div' class='hidden'>
7
8         <!-- Lineitem (bib record) list -->
9         <table id='acq-lit-table' class='oils-generic-table'>
10             <thead>
11                 <tr>
12                     <th colspan='0'>
13                         <table style='width:100%;'>
14                             <tr>
15                                 <td>
16                                     <span>
17                                         <select id="acq-lit-li-actions-selector">
18                                             <option mask='*'  value='_'>[% l('--Actions--') %]</option>
19                                             <option mask='sr' value='save_picklist'>[% l('Save Items To Selection List') %]</option>
20                                             <option mask='pl' value='selector_ready'>[% l('Mark Ready for Selector') %]</option>
21                                             <option mask='pl' value='order_ready'>[% l('Mark Ready for Order') %]</option>
22                                             <option mask='*'  value='delete_selected'>[% l('Delete Selected Items') %]</option>
23                                             <option mask='*'  value='add_brief_record'>[% l('Add Brief Record') %]</option>
24                                             <option mask='*'  value='export_attr_list'>[% l('Export Single Attribute List') %]</option>
25                                             <option mask='*'  value='batch_apply_funds'>[% l('Apply Funds to Selected Items') %]</option>
26                                             <option mask='po' value='' disabled='disabled'>[% l('----PO----') %]</option>
27                                             <option mask='sr|pl' value='create_order'>[% l('Create Purchase Order') %]</option>
28                                             <option mask='po' value='create_assets'>[% l('Load Bibs and Items') %]</option>
29                                             <option mask='po' value='cancel_lineitems'>[% l('Cancel Selected Lineitems') %]</option>
30                                             <option mask='po' value='change_claim_policy'>[% l('Change Claim Policy') %]</option>
31                                             <option mask='po' value='receive_po' id='receive_po' disabled='disabled'>[% l('Mark Purchase Order as Received') %]</option>
32                                             <option mask='po' value='rollback_receive_po' id='rollback_receive_po' disabled='disabled'>[% l('Un-Receive Purchase Order') %]</option>
33                                             <option mask='po' value='print_po'>[% l('Print Purchase Order') %]</option>
34                                             <option mask='po' value='po_history'>[% l('View PO History') %]</option>
35                                             <option mask='po' value='batch_create_invoice'>[% l('Create Invoice From Selected Lineitems') %]</option>
36                                             <option mask='po' value='batch_link_invoice'>[% l('Link To Invoice for Selected Lineitems') %]</option>
37                                         </select>
38                                         <span id="acq-lit-export-attr-holder" class="hidden">
39                                             <input dojoType="dijit.form.FilteringSelect" id="acq-lit-export-attr" jsId="acqLitExportAttrSelector" labelAttr="description" searchAttr="description" />
40                                             <span dojoType="dijit.form.Button" jsId="acqLitExportAttrButton">[% l('Export List') %]</span>
41                                         </span>
42                                         <span id="acq-lit-cancel-reason" class="hidden">
43                                             <span id="acq-lit-cancel-reason-selector"></span>
44                                             <span dojoType="dijit.form.Button" jsId="acqLitCancelLineitemsButton">[% l('Cancel Line Items') %]</span>
45                                         </span>
46                                     </span>
47                                     <span id='acq-lit-generic-progress' class='hidden'>
48                                         <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litGenericProgress"></span>
49                                     </span>
50                                 </td>
51                                 <td>
52                                     <div style='width:100%;text-align:right;'>
53                                         <span style='padding-right:15px;'>
54                                             <a href='javascript:void(0);' id='acq-lit-prev' style='visibility:hidden'>[% l('&#171; Previous') %]</a>
55                                             <a href='javascript:void(0);' id='acq-lit-next' style='visibility:hidden'>[% l('Next &#187;') %]</a>
56                                         </span>
57                                     </div>
58                                 </td>
59                             </tr>
60                         </table>
61                     </th>
62                 </tr>
63             </thead>
64             <tbody><tr><td colspan='0' style='height:20px;'/></tr></tbody>
65             <tbody style='font-weight:bold;border:1px solid #aaa;'>
66                 <tr>
67                     <td><span><a id='acq-lit-select-toggle' href='javascript:void(0);'>&#x2713</a></span></td>
68                     <td>
69                         [% l('Line Items') %]
70                         <span style='padding-left: 10px;'>
71                             <a href='javascript:;' 
72                                 id='acq-lit-apply-idents'>
73                                 [% l('Apply Order Identifiers') %]
74                             </a>
75                         </span>
76                     </td>
77                     <td style='white-space:nowrap;'>
78                         <a id='acq-inline-copies-toggle' 
79                             href='javascript:;'>[% l('Expand All') %]</a>
80                     </td>
81                     <td>[% l('Items') %]</td>
82                     <td>[% l('Notes') %]</td>
83                     <td>[% l('Actions') %]</td>
84                     <td>[% l('Status') %]</td>
85                     <td>[% l('Estimated Price') %]</td>
86                 </tr>
87             </tbody>
88             <tbody id='acq-lit-tbody'>
89                 <tr id='acq-lit-row' class='acq-lit-row'>
90                     <td name='selector'><input type='checkbox' name='selectbox'/></td>
91                     <td style='width:75%;' name='bib-info-cell'>
92                         <table style='width:100%;'>
93                             <tbody>
94                                 <tr>
95                                     <td rowspan='3' style='width:43px;'><img style='width:40px;height:65px;' name='jacket'></td>
96                                     <td style='width:70%;font-weight:bold;'>
97                                         <span name="bib_origin" class="hidden">
98                                             <img src="/opac/images/book-icon.png" />
99                                         </span><a attr='title' href='javascript:void(0);'></a>
100                                     </td>
101                                     <td rowspan='2' style='text-align:right'>
102                                     </td>
103                                 </tr>
104                                 <tr class='acq-lit-alt-row'>
105                                     <td colspan='0'>
106                                         <span attr='author'></span>
107                                         <span attr='isbn'></span>
108                                         <span attr='issn'></span>
109                                         <span attr='edition'></span>
110                                         <span attr='pubdate'></span>
111                                         <span attr='publisher'></span>
112                                         <span name='source_label'></span>
113                                     </td>
114                                 </tr>
115                                 <tr>
116                                     <td colspan='0'>
117                                         <table><tr>
118                                             <td>[% l('Order Identifier') %]</td>
119                                             <td>
120                                                 <select name='order_ident_type'>
121                                                     <option value='isbn' selected='selected'>[% l('ISBN') %]</option>
122                                                     <option value='upc' >[% l('UPC') %]</option>
123                                                     <option value='issn'>[% l('ISSN') %]</option>
124                                                 </select>
125                                             </td>
126                                             <td name='order_ident_value'></td>
127                                         </tr></table>
128                                     </td>
129                                 </tr>
130                                 <tr>
131                                     <td colspan='0'>
132                                         <span name="liid"># </span> 
133                                         <span name="catalog" class='hidden'> | <a title='[% l('Show In Catalog') %]' name="catalog_link" href="javascript:void(0);">[% l('&#x279F; catalog') %]</a></span> 
134                                         <span name="link_to_catalog" class='hidden'> | <a title='[% l('Link To Catalog Record') %]' name="link_to_catalog_link" href="javascript:void(0);">[% l('&#x27BE; link to catalog') %]</a></span> 
135                                         <span name="worksheet"> | <a title='[% l('Generate Worksheet') %]' name="worksheet_link" href="javascript:void(0);">[% l('&#x270D; worksheet') %]</a></span>
136                                         <span name='pl' class='hidden'> | <a title='[% l('Select List') %]' name='pl_link' href='javascript:void(0);'>&#x2756; </a></span>
137                                         <span name='po' class='hidden'> | <a title='[% l('Purchase Order') %]' name='po_link' href='javascript:void(0);'>&#x2318; </a></span>
138                                         <span name="show_requests"> | <a title='[% l('Patron Requests') %]' name="show_requests_link" href="javascript:void(0);">[% l('requests') %]</a></span> 
139                                         <span name='pro' class='hidden'> | <a title='[% l('Provider') %]' name='pro_link' href='javascript:void(0);'>&#x235F; </a></span>
140                                         <span name='queue' class='hidden'> | <a title='[% l('Import Queue') %]' name='queue_link' href='javascript:void(0);'>[% l('&#x27AC; queue') %]</a></span>
141                                     </td>
142                                 </tr>
143                             </tbody>
144                         </table>
145                     </td>
146                     <td>
147                         <a name='expand_inline_copies' 
148                             href='javascript:;'>[% l('Expand') %]</a>
149                     </td>
150                     <td><a title='FOOOBAR' name='copieslink' href='javascript:void(0);'>[% l('Copies([_1])', '<span name="count">0</span>') %]</a></td>
151                     <td>
152                         <a name='noteslink' href='javascript:void(0);'>[% l('Notes([_1])', '<span name="notes_count">0</span>') %]</a><span name="notes_alert_flag"></span>
153                     </td>
154                     <td>
155                         <select name='actions'>
156                             <option name='action_none'>[% l('-- Actions --') %]</option>
157                             <option name='action_mark_recv' disabled='disabled'>[% l('Mark Received') %]</option>
158                             <option name='action_mark_unrecv' disabled='disabled'>[% l('Un-Receive') %]</option>
159                             <option name='action_update_barcodes'>[% l('Update Barcodes') %]</option>
160                             <option name='action_holdings_maint'>[% l('Holdings Maint.') %]</option>
161                             <option name='action_new_invoice' disabled='disabled'>[% l('New Invoice') %]</option>
162                             <option name='action_link_invoice' disabled='disabled'>[% l('Link to Invoice') %]</option>
163                             <option name='action_view_invoice' disabled='disabled'>[% l('View Invoice(s)') %]</option>
164                             <option name='action_view_claim_policy'>[% l('Apply Claim Policy') %]</option>
165                             <option name='action_manage_claims'>[% l('Claims') %]</option>
166                             <option name='action_view_history'>[% l('View History') %]</option>
167                         </select>
168                     </td>
169                     <td><span name='li_state'></span></td>
170                     <td><input type='text' size='8' name='price'/></td>
171                 </tr>
172                 <tr id='acq-inline-copies-row' class='acq-inline-copies-row'>
173                     <td colspan='0'>
174                         <table class='acq-li-inline-copies-table'>
175                             <thead>
176                                 <tr>
177                                     <th>[% l('Branch') %]</th>
178                                     <th>[% l('Barcode') %]</th>
179                                     <th>[% l('Call Number') %]</th>
180                                     <th>[% l('Fund') %]</th>
181                                     <th>[% l('Copy Location') %]</th>
182                                     <th>[% l('Circ Modifier') %]</th>
183                                     <th>[% l('Collection Code') %]</th>
184                                     <th>[% l('Note') %]</th>
185                                 </tr>
186                             </thead>
187                             <tbody name='acq-li-inline-copies-tbody'>
188                                 <tr name='acq-li-inline-copies-template'>
189                                     <td><div name='owning_lib'></div></td>
190                                     <td><div name='barcode'></div></td>
191                                     <td><div name='cn_label'></div></td>
192                                     <td><div name='fund'></div></td>
193                                     <td><div name='location'></div></td>
194                                     <td><div name='circ_modifier'></div></td>
195                                     <td><div name='collection_code'></div></td>
196                                     <td><div name='note'></div></td>
197                                 </tr>
198                                 <tr name='acq-li-inline-copies-none'>
199                                     <td colspan='0'>[% l('No Copies') %]</td>
200                                 </tr>
201                             </tbody>
202                         </table>
203                     </td>
204                 </tr>
205             </tbody>
206         </table>
207     </div>
208
209     <!-- Bib record / Lineitem info table -->
210     [% INCLUDE "acq/common/info.tt2" which = "Lit" %]
211
212     <!-- Lineitem notes table -->
213     [% INCLUDE "acq/common/notes.tt2" which = "Lit" %]
214
215     <!-- Copies table -->
216     <div id='acq-lit-li-details' class='hidden'>
217
218         <div id='acq-lit-copies-li-summary'></div>
219
220         <h3>[% l('Add/Edit Items') %]</h3>
221         <hr/>
222
223         <div class='acq-lit-li-menu-bar'>
224             <table style='width:100%'>
225                 <tr>
226                     <td class="acq-lit-li-menu-left">
227                         <span class='hidden' id='acq-lit-copies-back-to-invoice-button-wrapper'>
228                             <button dojoType='dijit.form.Button' id='acq-lit-copies-back-to-invoice-button' 
229                                 scrollOnFocus='false'>[% l('&#x2196; Return To Invoice') %]</button>
230                         </span>
231                         <div dojoType='dijit.form.Button' id='acq-lit-copies-back-button' scrollOnFocus='false'>[% l('&#x2196; Return') %]</div>
232                         <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
233                             [% l('Item Count: ') %]
234                             <input dojoType='dijit.form.NumberTextBox' jsId='acqLitCopyCountInput'  
235                                 constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'></input> 
236                             <div dojoType='dijit.form.Button' jsId='acqLitAddCopyCount' scrollOnFocus='false'>[% l('Go') %]</div>
237                         </span>
238                         <span style='margin-left:10px;padding-left:10px;border-left:2px solid #aaa;'>
239                             <div dojoType='dijit.form.Button' jsId='acqLitSaveCopies' scrollOnFocus='false'>[% l('Save Changes') %]</div>
240                         </span>
241                         <span id='acq-lit-update-copies-progress' class='hidden'>
242                             <span dojoType="dijit.ProgressBar" style="width:300px" jsId="litUpdateCopiesProgress"></span>
243                         </span>
244                     </td>
245                 </tr>
246             </table>
247         </div>
248
249         <hr/>
250         <table id='acq-lit-distrib-formula-table'>
251             <tbody id='acq-lit-distrib-formula-tbody'>
252                 <tr id='acq-lit-distrib-form-row'>
253                     <td colspan='0'>
254                         <span>[% l('Distribution Formulas') %]</span>
255                         <div name='selector'></div>
256                         <div name='set_button'></div>
257                         <div name="reset_button"></div>
258                     </td>
259                 </tr>
260             </tbody>
261             <tbody id="acq-lit-distrib-applied-tbody" class="hidden">
262                 <tr>
263                     <td colspan="5" id="acq-lit-distrib-applied-heading">
264                         [% l('Distribution formulas applied to this lineitem:') %]
265                     </td>
266                 </tr>
267                 <tr id="acq-lit-distrib-applied-row" class="acq-lit-distrib-applied-row">
268                     <th></th>
269                     <td colspan="4"></td>
270                 </tr>
271             </tbody>
272         <table>
273
274         <table id='acq-lit-li-details-table'>
275             <tbody><tr><td class='acq-lit-table-spacer' colspan='0'/></tr></tbody>
276             <tbody style='font-weight:bold;'>
277                 <tr>
278                     <td style='margin-top:30px;'>[% l('Owning Branch') %]</td>
279                     <td>[% l('Shelving Location') %]</td>
280                     <td>[% l('Collection Code') %]</td>
281                     <td>[% l('Fund') %]</td>
282                     <td>[% l('Circ Modifier') %]</td>
283                     <td>[% l('Callnumber') %]</td>
284                     <td colspan='0'></td>
285                 </tr>
286             </tbody>
287             <tbody style='background-color:#ddd;'>
288                 <tr id='acq-lit-li-details-batch-row'>
289                     <td><div name='owning_lib'></div></td>
290                     <td><div name='location'></div></td>
291                     <td><div name='collection_code'></div></td>
292                     <td><div name='fund'></div></td>
293                     <td><div name='circ_modifier'></div></td>
294                     <td><div name='cn_label'></div></td>
295                     <td colspan='3' style='text-align:left;'>
296                         <div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies' scrollOnFocus='false'>[% l('Batch Update') %]</div>
297                     </td>
298                 </tr>
299             </tbody>
300
301
302             <tbody><tr><td class='acq-lit-table-spacer' colspan='0'></td></tr></tbody>
303             <tbody style='font-weight:bold;'>
304                 <tr>
305                     <td style='margin-top:30px;'>[% l('Owning Branch') %]</td>
306                     <td>[% l('Shelving Location') %]</td>
307                     <td>[% l('Collection Code') %]</td>
308                     <td>[% l('Fund') %]</td>
309                     <td>[% l('Circ Modifier') %]</td>
310                     <td>[% l('Callnumber') %]</td>
311                     <td>[% l('Barcode') %]</td>
312                     <td>[% l('Notes') %]</td>
313                     <td>[% l('Receiver') %]</td>
314                     <td colspan='0'></td>
315                 </tr>
316             </tbody>
317             <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
318                 <tr id='acq-lit-li-details-row'>
319                     <td><div name='owning_lib'></div></td>
320                     <td><div name='location'></div></td>
321                     <td><div name='collection_code'></div></td>
322                     <td><div name='fund'></div></td>
323                     <td><div name='circ_modifier'></div></td>
324                     <td><div name='cn_label'></div></td>
325                     <td><div name='barcode'></div></td>
326                     <td><div name='note'></div></td>
327                     <td><div name='receiver'></div></td>
328                     <td><a href="javascript:void(0);" name="receive">[% l('Mark&nbsp;Received') %]</a><a href="javascript:void(0);" name="unreceive">[% l('Un-Receive') %]</a>&nbsp;<a href="javascript:void(0);" name="cancel">[% l('Cancel') %]</a><span class="hidden" name="cancel_reason"></span>&nbsp;<a href="javascript:void(0);" name="claim">[% l('Claim') %]</a></td>
329                     <td><div name='delete' dojoType='dijit.form.Button' style='color:red;' scrollOnFocus='false'>X</div></td>
330                 </tr>
331             </tbody>
332         </table>
333     </div>
334
335
336     <!-- Copies table -->
337     <div id='acq-lit-real-copies-div' class='hidden'>
338         <h2>[% l('Copies') %]</h2>
339
340         <div class='acq-lit-li-menu-bar'>
341             <table style='width:100%'>
342                 <tr>
343                     <td style='text-align:left;'>
344                         <div dojoType='dijit.form.Button' id='acq-lit-real-copies-back-button' scrollOnFocus='false'>[% l('&#x2196; Return') %]</div>
345                     </td>
346                     <td style='text-align:right;'>
347                         <span>
348                             <div dojoType='dijit.form.Button' jsId='acqLitSaveRealCopies' scrollOnFocus='false'>[% l('Save Changes') %]</div>
349                         </span>
350                     </td>
351                 </tr>
352             </table>
353         </div>
354
355         <table id='acq-lit-real-copies-table'>
356             <tbody style='font-weight:bold;'>
357                 <tr>
358                     <td style='margin-top:30px;'>[% l('Owning Branch') %]</td>
359                     <td>[% l('Shelving Location') %]</td>
360                     <td>[% l('Circ Modifier') %]</td>
361                     <td>[% l('Callnumber') %]</td>
362                     <td>[% l('Barcode') %]</td>
363                     <td colspan='0'></td>
364                 </tr>
365             </tbody>
366             <tbody id='acq-lit-real-copies-tbody' class='oils-generic-table'>
367                 <tr id='acq-lit-real-copies-row'>
368                     <td><div name='owning_lib'></div></td>
369                     <td><div name='location'></div></td>
370                     <td><div name='circ_modifier'></div></td>
371                     <td><div name='label'></div></td>
372                     <td><div name='barcode'></div></td>
373                 </tr>
374             </tbody>
375         </table>
376     </div>
377
378     <div class="hidden">
379         <div jsId="acqLitLinkInvoiceDialog" dojoType="dijit.Dialog">
380             [% INCLUDE "acq/common/inv_dialog.tt2" which = "li" %]
381         </div>
382     </div>
383
384
385     [% PROCESS 'acq/common/vlagent.tt2' %]
386     <div class='hidden' id='acq-lit-asset-creator'>
387         <table class='oils-generic-table'>
388             <tbody>
389                 [% PROCESS vlagent_form %]
390                 <tr>
391                     <td>
392                         <span style='margin-left:10px;'>
393                             <button dojoType="dijit.form.Button" jsId='assetCreatorButton'>[% l('Submit') %]</button>
394                         </span>
395                     </td>
396                 </tr>
397             </tbody>
398         </table>
399     </div>
400
401     <div class='hidden' id='acq-lit-progress-numbers'>
402         [% PROCESS vlagent_results %]
403     </div>
404
405     <div class='hidden'>
406         <div dojoType='dijit.Dialog' jsId='acqLitPoCreateDialog'>
407             <table class='oils-generic-table'>
408                 <tr>
409                     <td>[% l('Ordering Agency') %]</td>
410                     <td><div name='ordering_agency' id='acq-lit-po-agency'></div></td>
411                 </tr>
412                 <tr>
413                     <td>[% l('Provider') %]</td>
414                     <td><div name='provider' id='acq-lit-po-provider'></div></td>
415                 </tr>
416                 <tr>
417                     <td>[% l('Prepayment Required') %]</td>
418                     <td><input id="acq-lit-po-prepay" name="prepayment_required" dojoType="dijit.form.CheckBox"/></td>
419                 </tr>
420                 <tr>
421                     <td>[% l('All Lineitems') %]</td>
422                     <td><input checked='checked' name='create_from' value='all' dojoType='dijit.form.RadioButton'/></td>
423                 </tr>
424                 <tr>
425                     <td>[% l('Selected Lineitems') %]</td>
426                     <td><input name='create_from' value='selected' dojoType='dijit.form.RadioButton'/></td>
427                 </tr>
428                 <tr>
429                     <td>[% l('Import Bibs and Create Copies') %]</td>
430                     <td><input name='create_assets' dojoType='dijit.form.CheckBox'/></td>
431                 </tr>
432                 <tr>
433                     <td colspan='2'>
434                         <div dojoType='dijit.form.Button' type='submit' jsId='acqLitCreatePoSubmit'>[% l('Submit') %]</div>
435                     </td>
436                 </tr>
437             </table>
438         </div>
439     </div>
440
441     <div class="hidden">
442         <div dojoType="dijit.Dialog" jsId='acqLitSavePlDialog'>
443             <table class='dijitTooltipTable'>
444                 <tr>
445                     <td colspan='2'>
446                         <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
447                         <label for="name">[% l('Save selected') %]</label>
448                         <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
449                         <label for="name">[% l('Save all') %]</label>
450                     </td>
451                 </tr>
452                 <tr><td colspan='2'><hr/></td></tr>
453                 <tr>
454                     <td><label for="new_name">[% l('Save as Selection List: ') %]</label></td>
455                     <td><input dojoType="dijit.form.TextBox" name="new_name"/></td>
456                 </tr>
457                 <tr>
458                     <td><label for="existing_pl">[% l('Add to Selection List: ') %]</label></td>
459                     <td>
460                         <input jsId="acqLitAddExistingSelect" dojoType="openils.widget.PCrudAutocompleteBox" fmclass="acqpl" searchAttr="name" name="existing_pl" />
461                     </td>
462                 </tr>
463                 <tr>
464                     <td colspan='2' align='center'>
465                         <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSavePlButton'>[% l('Save') %]</button>
466                     </td>
467                 </tr>
468             </table>
469         </div>
470
471         <div dojoType="dijit.Dialog" jsId="lidCancelDialog">
472             <label for="acq-lit-lid-cancel-reason">[% l('Reason:') %]</label>
473             <span id="acq-lit-lid-cancel-reason"></span>
474             <span dojoType="dijit.form.Button"
475                 jsId="acqLidCancelButton">[% l('Cancel Copy') %]</span>
476         </div>
477         <div dojoType="dijit.Dialog" jsId="liClaimPolicyDialog">
478             <label for="acq-lit-li-claim-policy">[% l('Claim policy:') %]</label>
479             <span id="acq-lit-li-claim-policy"></span> &nbsp;
480             <span dojoType="dijit.form.Button"
481                 jsId="liClaimPolicySave">[% l('Save') %]</span>
482         </div>
483         <div dojoType="dijit.Dialog" jsId="liClaimDialog">
484             [% INCLUDE "acq/common/claim_dialog.tt2" %]
485         </div>
486         <div dojoType="dijit.Dialog" jsId="finalClaimDialog">
487             [% INCLUDE "acq/common/final_claim_dialog.tt2" %]
488         </div>
489         <div dojoType="dijit.Dialog" jsId="batchFundUpdateDialog" title="[% l('Batch Update Funds') %]">
490             <div>
491                 [% |l %]This will update the fund for all copies attached to these lineitems.<br/>
492                 This will also update any existing encumbered or spent debits.[% END %]
493             </div>
494             <br/>
495             <table class='oils-generic-table'>
496                 <tr>
497                     <td>
498                         <span>[% l('Select a new fund:') %]</span>
499                     </td>
500                     <td>
501                         <div id='acq-lit-batch-fund-selector'></div>
502                     </td>
503                 </tr>
504                 <tr>
505                     <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateCancel'>[% l('Cancel') %]</button></td>
506                     <td><button dojoType='dijit.form.Button' jsId='batchFundUpdateSubmit'>[% l('Submit') %]</button></td>
507                 </tr>
508             </table>
509         </div>
510     </div>
511
512     <div dojoType="dijit.Dialog" jsId='acqLitChangeLiStateDialog'>
513         <table class='dijitTooltipTable'>
514             <tr>
515                 <td>
516                     <input dojoType="dijit.form.RadioButton" name="which" type='radio' checked='checked' value='selected'/>
517                     <label for="name">[% l('Mark selected') %]</label>
518                     <input dojoType="dijit.form.RadioButton" name="which" type='radio' value='all'/>
519                     <label for="name">[% l('Mark all') %]</label>
520                 </td>
521             </tr>
522             <tr>
523                 <td colspan='2' align='center'>
524                     <button dojoType='dijit.form.Button' type="submit" jsId='acqLitCancelLiStateButton'>[% l('Cancel') %]</button>
525                     <button dojoType='dijit.form.Button' type="submit" jsId='acqLitSaveLiStateButton'>[% l('Go') %]</button>
526                 </td>
527             </tr>
528         </table>
529     </div>
530
531
532     <div class='hidden'>
533         <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div>
534     </div>
535
536 </div>
537