Bug 4189 : Searching z39.50 without selecting any servers results in error message
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / neworderempty.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Acquisitions &rsaquo; Basket <!-- TMPL_VAR NAME="basketno" --> &rsaquo; <!-- TMPL_IF name="ordernumber" -->Modify order details (line #<!-- TMPL_VAR NAME="ordernumber" -->)<!-- TMPL_ELSE -->New order<!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/acq.js"></script>
6 <script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/additem.js"></script>
7 <script type="text/javascript">
8 //<![CDATA[
9 actTotal = "";
10
11 function Check(ff) {
12     var ok=0;
13     var _alertString= _("Form not submitted because of the following problem(s)")+"\n";
14
15     _alertString +="-------------------------------------------------------------------\n\n";
16
17     if ( isNull(ff.title,1)  &&  isNull(ff.entertitle,1)   ){
18         ok=1;
19                     _alertString += "\n- " + _("Title cannot be empty");
20     }
21     
22     if(isNull(ff.budget_id,1)){
23                 ok=1;
24                                         _alertString += "\n- "+ _("You must select a budget");
25     }
26
27     if (!(isNum(ff.quantity,0))){
28         ok=1;
29                     _alertString += "\n- " + _("Quantity must be greater than '0'");
30     }
31
32     if (!(isNum(ff.listprice,0))){
33         ok=1;
34                     _alertString += "\n- " + _("Vendor price must be a number");
35     }
36
37     if (!(isNum(ff.total,0))){
38         ok=1;
39                     _alertString += "\n- " + _("Total must be a number");
40     }
41
42     if (totalExceedsBudget(ff.budget_id.value, ff.total.value  )  ) {
43         ok=1;
44         _alertString += "\n- " + _("Order total (") + ff.total.value +
45             _(") exceeds budget available (") + actTotal+")";
46     }
47
48     if ( ff.field_value ) {
49         var empty_item_mandatory = 0;
50         for (i = 0; i < ff.field_value.length; i++) {
51             //alert("i = " + i + " => " + ff.kohafield[i] );
52             if (ff.field_value[i].value.length == 0 && ff.mandatory[i].value == 1) {
53                 empty_item_mandatory++;
54             }
55         }
56         if (empty_item_mandatory > 0) {
57             ok = 1;
58             _alertString +=
59                 "\n- " + empty_item_mandatory + _(" item mandatory fields empty");
60         }
61     }
62
63 if (ok) {
64         alert(_alertString);
65     return false;
66     }
67
68 ff.submit();
69
70 }
71
72 $(document).ready(function() 
73     {
74         //We apply the fonction only for modify option
75         <!--TMPL_IF NAME="quantityrec"-->
76         $('#quantity').blur(function() 
77         {
78             // if user decreases the quantity
79             if($(this).val() < <!-- TMPL_VAR name="quantityrec" -->) 
80             {
81                 alert(_("You have deleted item(s) in the order, don't forget to delete it(them) in the catalog"));
82                 return true;
83             } 
84             else 
85             {
86                 // if user increases the quantity
87                 alert(_("You can't add a new item, please create a new order line"));
88                 // and we replace the original value
89                 $(this).val(<!-- TMPL_VAR name="quantityrec" -->)
90                 return false;
91             }
92         });
93         <!-- /TMPL_IF -->
94         
95         $('#showallbudgets').click(function() {
96             if ( $('#budget_id .b_inactive').is(":visible") )
97             {
98             $('#budget_id .b_inactive').hide();
99             }
100             else {
101             $('#budget_id .b_inactive').show();
102             }
103         });
104     });
105 //]]>
106 </script>
107 </head>
108 <body>
109
110 <!-- TMPL_INCLUDE NAME="header.inc" -->
111 <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
112
113 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->">Basket <!-- TMPL_VAR NAME="basketno" --></a> &rsaquo; <!-- TMPL_IF name="ordernumber" -->Modify order details (line #<!-- TMPL_VAR NAME="ordernumber" -->)<!-- TMPL_ELSE -->New order<!-- /TMPL_IF --></div>
114
115 <div id="doc3" class="yui-t2">
116
117 <div id="bd">
118     <div id="yui-main">
119     <div class="yui-b">
120
121 <h2>
122     <!-- TMPL_IF name="ordernumber" -->
123         Modify order line
124     <!-- TMPL_ELSE -->
125         New order
126     <!-- /TMPL_IF -->
127         <!-- TMPL_IF name="suggestionid" -->(defined from suggestion #<!-- TMPL_VAR NAME="suggestionid" -->)<!-- /TMPL_IF -->
128 </h2>
129
130 <!-- TMPL_IF name="basketno" -->
131     <div id="acqui_basket_summary"  class="yui-g">
132         <fieldset class="rows">
133         <legend>Basket details</legend>
134                 <ol>
135         <!-- TMPL_IF NAME="basketnote" --><li><span class="label">Internal note:</span> <!-- TMPL_VAR NAME="basketnote" --></li><!-- /TMPL_IF -->
136         <!-- TMPL_IF NAME="basketbooksellernote" --><li><span class="label">Vendor note:</span> <!-- TMPL_VAR NAME="basketbooksellernote" --></li><!-- /TMPL_IF -->
137         <!-- TMPL_IF NAME="basketcontractno" -->
138             <li><span class="label">Contract number: </span><!-- TMPL_VAR NAME="basketcontractno" --></li>
139             <li><span class="label">Contract name:</span> <a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;contractnumber=<!-- TMPL_VAR NAME="basketcontractno" -->"><!-- TMPL_VAR NAME="basketcontractname" --></a></li>
140         <!-- /TMPL_IF -->
141         <!-- TMPL_IF NAME="authorisedbyname" --><li><span class="label">Managed by:</span>  <!-- TMPL_VAR NAME="authorisedbyname" --></li><!-- /TMPL_IF -->
142         <!-- TMPL_IF NAME="creationdate" --><li><span class="label">Open on:</span>  <!-- TMPL_VAR NAME="creationdate" --></li><!-- /TMPL_IF -->
143         <!-- TMPL_IF name="closedate" -->
144         <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="post">
145         <li><span class="label">Closed on:</span>  <!-- TMPL_VAR name="closedate" --></li>
146         <!-- TMPL_IF name="basketgroups" -->
147             <li>Basketgroup: <select id="basketgroupid" name="basketgroupid">
148                 <!-- TMPL_LOOP name="basketgroups" -->
149                     <!-- TMPL_IF name="default" -->
150                     <option value="<!-- TMPL_VAR name="id" -->" selected="selected"><!-- TMPL_VAR name="name" --></option>
151                     <!-- TMPL_ELSE -->
152                     <option value="<!-- TMPL_VAR name="id" -->"><!-- TMPL_VAR name="name" --></option>
153                     <!-- /TMPL_IF -->
154                 <!-- /TMPL_LOOP -->
155                 </select>
156                 <input type="hidden" id="basketno" value="<!-- TMPL_VAR name="basketno" -->" name="basketno" />
157                 <input type="hidden" value="mod_basket" name="op" />
158                 <input type="hidden" name="booksellerid" value="<!-- TMPL_VAR name="booksellerid" -->" />
159             </li>
160                 <fieldset class="action"><input type="submit" value="Change basketgroup" /></fieldset>
161         </form>
162         <!-- /TMPL_IF -->
163         <!-- /TMPL_IF -->
164                         </ol>
165 </fieldset>
166     </div>
167 <!-- /TMPL_IF -->
168
169 <form action="/cgi-bin/koha/acqui/addorder.pl" method="post" id="Aform">
170
171 <fieldset class="rows">
172         <legend>
173             Catalog details
174             <span><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!--TMPL_VAR NAME= "biblionumber"-->"> Edit record</a></span>
175         </legend>
176         <!-- TMPL_UNLESS name="existing" -->
177         <input type="hidden" name="existing" value="no" />
178         <!-- /TMPL_UNLESS -->
179         <input type="hidden" name="ordernumber" value="<!-- TMPL_VAR NAME="ordernumber" -->" />
180         <input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
181         <input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->" />
182         <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
183         <input type="hidden" name="biblioitemnumber" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
184         <input type="hidden" name="discount" value="<!-- TMPL_VAR NAME="discount" -->" />
185         <input type="hidden" name="listinc" value="<!-- TMPL_VAR NAME="listincgst" -->" />
186 <!--        <input type="hidden" name="currency" value="<!-- TMPL_VAR NAME="currency" -->" />-->
187         <input type="hidden" name="applygst" value="<!-- TMPL_VAR NAME="gstreg" -->" />
188         <input type="hidden" name="invoiceincgst" value="<!-- TMPL_VAR NAME="invoiceincgst" -->" />
189         <input type="hidden" name="gstrate" value="<!-- TMPL_VAR NAME="gstrate" -->" />
190         <input type="hidden" name="suggestionid" value="<!-- TMPL_VAR NAME="suggestionid" -->" />
191         <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
192
193         <!-- TMPL_LOOP NAME="loop_currencies" -->
194             <input type="hidden" id="<!-- TMPL_VAR NAME="currcode" -->"  name="<!-- TMPL_VAR NAME="currcode" -->" value="<!-- TMPL_VAR NAME="rate" -->" />
195         <!-- /TMPL_LOOP -->
196         <ol><li>
197             <!-- TMPL_IF name="biblionumber" -->
198             <span class="label">Title</span>
199                 <input type="hidden" size="50" name="title" value="<!-- TMPL_VAR NAME="title" ESCAPE="HTML" -->" /> <span class="title"><!-- TMPL_VAR NAME="title" ESCAPE="html" --></span>
200             <!-- TMPL_ELSE -->
201             <label for="entertitle" class="required">Title: </label>
202                 <input type="text" id="entertitle" size="50" name="title" value="<!-- TMPL_VAR NAME="title" ESCAPE="html" -->" />
203             <!-- /TMPL_IF -->
204         </li>
205         <li>
206             <!-- TMPL_IF name="biblionumber" -->
207             <span class="label">Author: </span>
208                 <input type="hidden" size="50" name="author" id="author" value="<!-- TMPL_VAR NAME="author" -->" /><!-- TMPL_VAR NAME="author" -->
209             <!-- TMPL_ELSE -->
210             <label for="author">Author: </label>
211                 <input type="text" size="50" name="author" id="author" value="<!-- TMPL_VAR NAME="author" -->" />
212             <!-- /TMPL_IF -->
213         </li>
214         <li>
215             <!-- TMPL_IF name="biblionumber" -->
216             <span class="label">Publisher: </span>
217                 <input type="hidden" size="50" name="publishercode" id="publishercode" value="<!-- TMPL_VAR NAME="publishercode" -->" /><!-- TMPL_VAR NAME="publishercode" -->
218             <!-- TMPL_ELSE -->
219             <label for="publishercode"> Publisher: </label>
220                 <input type="text" size="50" name="publishercode" id="publishercode" value="<!-- TMPL_VAR NAME="publishercode" -->" />
221             <!-- /TMPL_IF -->
222         </li>
223         <li>
224             <!-- TMPL_IF name="biblionumber" -->
225             <span class="label">Publication year: </span>
226                 <input type="hidden" size="10" name="publicationyear" id="publicationyear" value="<!-- TMPL_VAR NAME="publicationyear" -->" /><!-- TMPL_VAR NAME="publicationyear" -->
227             <!-- TMPL_ELSE -->
228             <label for="publicationyear">Publication year: </label>
229                 <input type="text" size="10" name="publicationyear" id="publicationyear" value="<!-- TMPL_VAR NAME="publicationyear" -->" />
230             <!-- /TMPL_IF -->
231         </li>
232         <li>
233             <!-- TMPL_IF name="biblionumber" -->
234             <span class="label">ISBN: </span>
235                 <input type="hidden" size="50" name="isbn" id="ISBN" value="<!-- TMPL_VAR NAME="isbn" -->" /><!-- TMPL_VAR NAME="isbn" -->
236             <!-- TMPL_ELSE -->
237             <label for="ISBN">ISBN: </label>
238                 <input type="text" size="50" name="isbn" id="ISBN" value="<!-- TMPL_VAR NAME="isbn" -->" />
239             <!-- /TMPL_IF -->
240         </li>
241         <li>
242             <!-- TMPL_IF name="biblionumber" -->
243             <span class="label">Series: </span>
244                 <input type="hidden" size="50" name="series" id="series" value="<!-- TMPL_VAR NAME="seriestitle" -->" /><!-- TMPL_VAR NAME="seriestitle" -->
245             <!-- TMPL_ELSE -->
246             <label for="series">Series: </label>
247                 <input type="text" size="50" name="series" id="series" value="<!-- TMPL_VAR NAME="seriestitle" -->" />
248             <!-- /TMPL_IF -->
249         </li>
250         </ol>
251     </fieldset>
252     <!-- TMPL_IF name="items" -->
253     <fieldset class="rows">
254         <legend>Item</legend>
255         <!-- TMPL_IF name="NoACQframework" -->
256             <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
257         <!-- /TMPL_IF -->
258
259         <!-- TMPL_LOOP NAME="items" -->
260         <div id="outeritemblock">
261         <div id="itemblock">
262             <ol><!-- TMPL_LOOP NAME="iteminformation" --><li>
263                 <div class="subfield_line" style="<!-- TMPL_VAR NAME='hidden' -->;" id="subfield<!-- TMPL_VAR NAME='serialid' --><!-- TMPL_VAR NAME='countitems' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->">
264
265                     <label><!-- TMPL_VAR NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></label>
266                     <!-- TMPL_VAR NAME="marc_value" -->
267                     <input type="hidden" name="itemid" value="1" />
268                     <input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->" />
269                     <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->" />
270                     <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
271                     <input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->" />
272                     <!-- TMPL_IF NAME="ITEM_SUBFIELDS_ARE_NOT_REPEATABLE" -->
273                         <span class="buttonPlus" onclick="CloneSubfield('subfield<!-- TMPL_VAR NAME='serialid' --><!-- TMPL_VAR NAME='countitems' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->')">+</span>
274                     <!-- /TMPL_IF -->
275
276                 </div></li>
277             <!-- /TMPL_LOOP-->
278             </ol>
279             <a style="cursor: pointer; color: grey; font-size: 180%;" onclick="cloneItemBlock('itemblock<!-- TMPL_VAR name="itemBlockIndex" -->')">+</a>
280             <a style="display:none; cursor: pointer; color: grey; font-size: 180%;" onclick="deleteItemBlock('itemblock<!-- TMPL_VAR name="itemBlockIndex" -->')">-</a>
281         </div><!-- /iteminformation -->
282         </div>
283
284         <!--/TMPL_LOOP--> <!-- /items -->
285     </fieldset>
286     <!-- /TMPL_IF --> <!-- items -->
287     <fieldset class="rows">
288         <legend>Accounting Details</legend>
289         <ol>
290             <li>
291                 <!-- TMPL_IF name="close" -->
292             <span class="label required">Quantity: </span>
293                     <input type="hidden" size="20" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" /><!-- TMPL_VAR NAME="quantity" -->
294                 <!-- TMPL_ELSE -->
295                 <label class="required" for="quantity">Quantity: </label>
296                     <!-- TMPL_IF name="items" -->
297                         <input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="1" onchange="calcNeworderTotal();" />
298                     <!-- TMPL_ELSE -->
299                         <input type="text" size="20" id="quantity" name="quantity" value="<!-- TMPL_VAR name="quantityrec" -->" onchange="calcNeworderTotal();" />
300                     <!-- /TMPL_IF -->
301                 <!--/TMPL_IF-->
302                 <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, usefull when receiveing an order -->
303                 <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
304             </li>
305             <li>
306                 <!-- TMPL_IF name="close" -->
307             <span class="label">Fund: </span>
308                     <input type="hidden" size="20" name="budget_id" id="budget_id" value="<!-- TMPL_VAR NAME="budget_id" -->" /><!-- TMPL_VAR NAME="Budget_name" -->
309                 <!-- TMPL_ELSE -->
310                 <label for="budget_id">Fund: </label>
311                 <select id="budget_id" onchange="fetchSortDropbox(this.form)" size="1" name="budget_id">
312                 <!-- TMPL_LOOP NAME="budget_loop" -->
313                     <!-- TMPL_IF NAME="b_sel" -->
314                         <option value="<!-- TMPL_VAR NAME='b_id' -->" selected="selected"><!-- TMPL_VAR NAME="b_txt" --></option>
315                     <!-- TMPL_ELSE -->
316                         <!-- TMPL_IF NAME="b_active" --><option value="<!-- TMPL_VAR NAME='b_id' -->"><!-- TMPL_VAR NAME="b_txt" --></option>
317                         <!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME='b_id' -->" class="b_inactive" style="display : none;"><!-- TMPL_VAR NAME="b_txt" --></option>    
318                         <!-- /TMPL_IF -->
319                     <!-- /TMPL_IF -->
320                 <!-- /TMPL_LOOP -->
321                 </select>
322                 <label for="showallbudgets" style="float:none;width:auto;">&nbsp;Show all:</label>
323                 <input type="checkbox" id="showallbudgets" />
324                 <!--/TMPL_IF-->
325             </li>
326                 <li>
327                 <!-- TMPL_IF name="close" -->
328                         <span class="label">Currency: </span>
329                         <input type="hidden" size="10" name="currency" id="currency" value="<!-- TMPL_VAR NAME="currency" -->" /><!-- TMPL_VAR NAME="currency" -->
330                 <!-- TMPL_ELSE -->
331                         <label for="currency">Currency:</label>
332                         <select name="currency" id="currency" onchange="calcNeworderTotal();">
333                         <!-- TMPL_LOOP name="loop_currencies" -->
334                         <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="currcode" -->" selected="selected"><!-- TMPL_VAR name="currcode" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="currcode" -->"><!-- TMPL_VAR name="currcode" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
335                         </select>
336                 <!-- /TMPL_IF-->
337                 </li>
338             <li>
339                 <!-- TMPL_IF name="close" -->
340             <span class="label">Vendor price: </span>
341                     <input type="hidden" size="20" name="listprice" id="listprice" value="<!-- TMPL_VAR NAME="listprice" -->" /><!-- TMPL_VAR NAME="listprice" -->
342                 <!-- TMPL_ELSE -->
343                 <label for="listprice">Vendor price: </label>
344                     <input type="text" size="20" name="listprice" id="listprice" value="<!-- TMPL_VAR NAME="listprice" -->" onchange="calcNeworderTotal()" />
345                 <!--/TMPL_IF-->
346             </li>
347             <!-- TMPL_UNLESS NAME="close" -->
348             <li>
349                     <label for="uncertainprice">Uncertain price: </label>
350                     <!--TMPL_IF NAME="uncertainprice" -->
351                     <input type="checkbox" name="uncertainprice"  id="uncertainprice" value="1" checked="checked" />
352                     <!-- TMPL_ELSE -->
353                     <input type="checkbox" name="uncertainprice" id="uncertainprice" value="1" />
354                 <!--/TMPL_IF-->
355             </li>
356             <!-- /TMPL_UNLESS -->
357                         <li>
358                 <!-- TMPL_IF name="close" -->
359             <span class="label">Replacement cost: </span>
360                     <input type="hidden" size="20" name="rrp" id="rrp" value="<!-- TMPL_VAR NAME="rrp" -->" /><!-- TMPL_VAR NAME="rrp" -->
361                 <!-- TMPL_ELSE -->
362                 <label for="rrp">Replacement cost: </label>
363                     <input type="text" size="20" name="rrp" id="rrp" value="<!-- TMPL_VAR NAME="rrp" -->" /> (adjusted for <!-- TMPL_VAR NAME="cur_active" -->)
364                 <!--/TMPL_IF-->
365             </li>
366             <li>
367                 <!-- TMPL_IF name="close" -->
368             <label for="ecost">Budgeted cost: </label>
369                     <input type="text" size="20" name="ecost" id="ecost" value="<!-- TMPL_VAR NAME="ecost" -->" readonly="readonly"  />
370                 <!-- TMPL_ELSE -->
371                 <label for="ecost">Budgeted cost: </label>
372                     <input type="text" size="20" name="ecost" id="ecost" value="<!-- TMPL_VAR NAME="ecost" -->" />
373                 <!--/TMPL_IF-->
374                 <!-- TMPL_IF name="discount_2dp" -->  (adjusted for <!-- TMPL_VAR name="discount_2dp" -->% discount)  <!--/TMPL_IF-->
375
376             </li>
377             <!-- TMPL_IF NAME="GST"-->
378             <li>
379                 <!-- TMPL_IF name="close" -->
380             <label for="GST">Budgeted GST: </label>
381                 <input type="text" id="" size="20" name="gst" value="" id="GST" readonly="readonly" />
382                 <!-- TMPL_ELSE -->
383                 <label for="GST">Budgeted GST: </label>
384                 <input type="text" size="20" name="gst" id="GST" value="" />
385                 <!--/TMPL_IF-->
386             </li>
387             <!-- /TMPL_IF -->
388             <li>
389                 <!-- TMPL_IF name="close" -->
390             <label for="total">Total: </label>
391                 <input type="text" id="total" size="20" name="total" value="<!-- TMPL_VAR name="total" -->" readonly="readonly" />
392                 <!-- TMPL_ELSE -->
393                 <label for="total">Total: </label>
394                 <input type="text" id="total" size="20" name="total" value="<!-- TMPL_VAR name="total" -->" /> (budgeted cost * quantity)
395                 <!--/TMPL_IF-->
396             </li>
397             <li>
398                 <!-- TMPL_IF name="close" -->
399             <label for="cost">Actual cost: </label>
400                 <input type="text" id="cost" size="20" name="cost" value="<!-- TMPL_VAR name="ecost"-->" readonly="readonly" />
401                 <!-- TMPL_ELSE -->
402                 <label for="cost">Actual cost: </label>
403                 <input type="text" id="cost" size="20" name="cost" value="<!-- TMPL_VAR name="ecost"-->" />
404                 <!--/TMPL_IF-->
405             </li>
406             <li>
407                 <label for="notes">Notes: </label>
408                 <textarea id="notes" cols="30" rows="3" name="notes" ><!-- TMPL_VAR name="notes"--></textarea>
409             </li>
410             <li><div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div>
411                 <label for="sort1">Statistic 1: </label>
412
413                 <!-- TMPL_IF Name="CGIsort1" -->
414                     <!-- TMPL_VAR Name="CGIsort1" -->
415                 <!-- TMPL_ELSE -->
416
417                     <input type="text" id="sort1" size="20" name="sort1" value="<!-- TMPL_VAR NAME="sort1" -->" />
418                 <!--/TMPL_IF -->
419             </li>
420             <li>
421                 <label for="sort2">Statistic 2: </label>
422
423                 <!-- TMPL_IF Name="CGIsort2" -->
424                     <!-- TMPL_VAR Name="CGIsort2" -->
425                 <!-- TMPL_ELSE -->
426                     <input type="text" id="sort2" size="20" name="sort2" value="<!-- TMPL_VAR NAME="sort2" -->" />
427                 <!--/TMPL_IF -->
428             </li>
429 </ol>
430     </fieldset>
431     <fieldset class="action">
432         <input type="button" value="Save" onclick="Check(this.form)" /> <!-- TMPL_IF name="suggestionid" --><a class="cancel" href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->">Cancel</a><!-- TMPL_ELSE --><a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->">Cancel</a><!-- /TMPL_IF -->
433     </fieldset>
434 </form>
435 </div>
436 </div>
437 <div class="yui-b">
438 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
439 </div>
440 </div>
441 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->