Merge branch 'bug_8977' into 3.12-master
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / basket.tt
1 [% USE KohaDates %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</title>
4 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
5 [% INCLUDE 'doc-head-close.inc' %]
6 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7 [% INCLUDE 'datatables-strings.inc' %]
8 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
9
10 <script type="text/javascript">
11 //<![CDATA[
12     function updateColumnsVisibility(visible) {
13         if ( visible ) {
14             $("table .gste, .gsti").show();
15         } else {
16             [% IF ( listincgst ) %]
17                 $("table .gste").hide();
18             [% ELSE %]
19                 $("table .gsti").hide();
20             [% END %]
21         }
22     }
23
24     $(document).ready(function() {
25         $("#show_all_details").click(function(){
26             updateColumnsVisibility($(this+":checked").val());
27         });
28
29         $("#show_all_details").attr('checked', false);
30         updateColumnsVisibility(false);
31     });
32 //]]>
33 </script>
34
35 [% UNLESS ( closedate ) %]
36 <script type="text/javascript">
37 //<![CDATA[
38             function confirm_close() {
39                 var is_confirmed = confirm(_('Are you sure you want to close this basket?'));
40                 if (is_confirmed) {
41                     window.location = "[% script_name %]?op=close&basketno=[% basketno %]";
42                 }
43             }
44             function confirm_deletion() {
45                 var is_confirmed = confirm(_('Are you sure you want to delete this basket?'));
46                 if (is_confirmed) {
47                     window.location = "[% script_name %]?op=delete_confirm&basketno=[% basketno %]&booksellerid=[% booksellerid %]";
48                 }
49             }
50             function confirm_delete_item(ordernumber, biblionumber) {
51                 var is_confirmed = confirm(_('Are you sure you want to delete this order ?'));
52                 if (is_confirmed) {
53                     window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno=[% basketno %]&quantity=0&biblionumber="+biblionumber;
54                 }
55             }
56             
57             function confirm_delete_biblio(ordernumber, biblionumber) {
58                 var is_confirmed = confirm(_('Are you sure you want to delete this catalog record and order ?'));
59                 if (is_confirmed) {
60                     window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno=[% basketno %]&quantity=0&biblionumber="+biblionumber+"&delbiblio=1";
61                     }
62             }
63
64 //]]>
65 </script>
66 [% ELSE %]
67 <script type="text/javascript">
68 //<![CDATA[
69     $(document).ready(function(){
70         $("#basketgroupid").change(function(){
71             if($(this).val() == "new"){
72                 location.href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% booksellerid %]";
73             }
74         });
75     });
76 //]]>
77 </script>
78 [% UNLESS ( grouped ) %]
79 <script type="text/javascript">
80 //<![CDATA[
81             function confirm_reopen(skip) {
82                 var is_confirmed = skip || confirm(_('Are you sure you want to reopen this basket?'));
83                 if (is_confirmed) {
84                     window.location = "[% script_name %]?op=reopen&basketno=[% basketno %]";
85                 }
86             }
87 //]]>
88 </script>
89 [% END %]
90 [% END %]
91 <script type="text/javascript">
92 //<![CDATA[
93     $(document).ready(function() {
94         var orderst = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
95             "sPaginationType": "four_button",
96             [% IF ( active ) %]
97               [% UNLESS ( closedate ) %]
98                 "aoColumnDefs": [
99                     { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
100                 ],
101               [% END %]
102             [% END %]
103         } ) );
104         var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, {
105             "sPaginationType": "four_button"
106         } ) );
107     } );
108 //]]>
109 </script>
110
111 <style type="text/css">
112 .sortmsg {font-size: 80%;}
113 </style>
114 </head>
115 <body id="acq_basket" class="acq">
116 [% INCLUDE 'header.inc' %]
117 [% INCLUDE 'acquisitions-search.inc' %]
118
119
120 <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/supplier.pl?booksellerid=[% booksellerid %]">[% name|html %]</a> &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</div>
121
122 <div id="doc3" class="yui-t2">
123
124 <div id="bd">
125     <div id="yui-main">
126     <div class="yui-b">
127         [% UNLESS ( confirm_close ) %]
128         [% UNLESS ( selectbasketg ) %]
129             [% UNLESS ( closedate ) %]
130                 <div id="toolbar">
131                     <script type="text/javascript">
132                         //<![CDATA[
133                         // prepare DOM for YUI Toolbar
134                         $(document).ready(function() {
135                             yuiToolbar();
136                         });
137                         // YUI Toolbar Functions
138                         function yuiToolbar() {
139                             [% IF ( unclosable ) %]
140                                 new YAHOO.widget.Button("closebutton", {disabled:true});
141                             [% ELSIF ( uncertainprices ) %]
142                                 new YAHOO.widget.Button("uncertpricesbutton");
143                             [% ELSE %]
144                                 new YAHOO.widget.Button("closebutton");
145                             [% END %]
146                             new YAHOO.widget.Button("basketheadbutton");
147                             new YAHOO.widget.Button("exportbutton");
148                             new YAHOO.widget.Button("delbasketbutton");
149                         }
150                         //]]>
151                     </script>
152
153                     <ul id="toolbar-list" class="toolbar">
154                     <li><a href="basketheader.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;op=add_form" class="button" id="basketheadbutton">Edit basket</a></li>
155                     <li><a href="javascript:confirm_deletion();" class="button" id="delbasketbutton">Delete this basket</a></li>
156                     [% IF ( unclosable ) %]
157                     [% ELSIF ( uncertainprices ) %]
158                         <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&amp;owner=1" class="button" id="uncertpricesbutton">Uncertain prices</a></li>
159                     [% ELSE %]
160                         <li><a href="[% script_name %]?op=close&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]" class="button" id="closebutton">Close this basket</a></li>
161                     [% END %]
162                         <li><a href="[% script_name %]?op=export&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]" class="button" id="exportbutton">Export this basket as CSV</a></li>
163                     </ul>
164
165                 </div>
166             [% ELSE %]
167                 [% UNLESS ( grouped ) %]
168                 <div id="toolbar">
169                     <script type="text/javascript">
170                         //<![CDATA[
171                         // prepare DOM for YUI Toolbar
172                         $(document).ready(function() {
173                             yuiToolbar();
174                         });
175                         // YUI Toolbar Functions
176                         function yuiToolbar() {
177                             new YAHOO.widget.Button("reopenbutton");
178                             new YAHOO.widget.Button("exportbutton");
179                         }
180                         //]]>
181                     </script>
182                         <ul id="toolbar-list" class="toolbar">
183                             <li><a href="javascript:confirm_reopen([% skip_confirm_reopen %]);" class="button" id="reopenbutton">Reopen this basket</a></li>
184                             <li><a href="[% script_name %]?op=export&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]" class="button" id="exportbutton">Export this basket as CSV</a></li>
185                         </ul>
186                 </div>
187                 [% END %]
188             [% END %]
189             [% END %]
190
191     [% IF ( NO_BOOKSELLER ) %]
192     <h2>Vendor not found</h2>
193     [% ELSE %]
194         [% IF ( delete_confirmed ) %]
195             <h3>Basket deleted</h3>
196             <META HTTP-EQUIV=Refresh CONTENT="0; url=booksellers.pl">
197         [% ELSE %]
198         <h1>[% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for <a href="supplier.pl?booksellerid=[% booksellerid %]">[% name|html %]</a></h1>
199         [% IF ( delete_confirm ) %]
200             <h2>
201             <span class="yui-button yui-link-button">
202             <em class="first-child">
203                 <a href="[% script_name %]?op=delete_confirm&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]" class="yui-link-button">Yes, delete this basket!</a>
204             </em>
205             </span>
206             <span class="yui-button yui-link-button">
207             <em class="first-child">
208                 <a href="[% script_name %]?basketno=[% basketno %]" class="yui-link-button">Cancel</a>
209             </em>
210             </span>
211             </h2>
212         [% END %]
213         [% IF ( basketno ) %]
214             <div id="acqui_basket_summary" class="yui-g">
215                 <div class="rows">
216                 <div class="yui-u first">
217                 <ol>
218                 [% IF ( basketnote ) %]<li><span class="label">Internal note:</span> [% basketnote %]</li>[% END %]
219                 [% IF ( basketbooksellernote ) %]<li><span class="label">Vendor note:</span> [% basketbooksellernote %]</li>[% END %]
220                 [% IF ( basketcontractno ) %]
221                     <li><span class="label">Contract name:</span> <a href="../admin/aqcontract.pl?op=add_form&amp;contractnumber=[% basketcontractno %]&amp;booksellerid=[% booksellerid %]">[% basketcontractname %]</a></li>
222                 [% END %]
223                 [% IF ( deliveryplace ) %]<li><span class="label">Delivery place:</span> [% deliveryplace %]</li>[% END %]
224                 [% IF ( billingplace ) %]<li><span class="label">Billing place:</span> [% billingplace %]</li>[% END %]
225                 [% IF ( authorisedbyname ) %]<li><span class="label">Managed by:</span>  [% authorisedbyname %]</li>[% END %]
226                 [% IF ( creationdate ) %]<li><span class="label">Opened on:</span>  [% creationdate | $KohaDates %]</li>[% END %]
227                 [% IF ( closedate ) %]<li><span class="label">Closed on:</span> [% closedate | $KohaDates %]</li>[% END %]
228                 [% IF ( estimateddeliverydate ) %]<li><span class="label">Estimated delivery date:</span> [% estimateddeliverydate | $KohaDates  %]</li>[% END %]
229
230                 </ol>
231                 </div>
232                 [% IF ( closedate ) %]
233                 <div class="yui-u">
234                     <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="post">
235                         <p>
236                           <label for="basketgroupid"><strong>Basket group:</strong></label>
237                           [% IF basketgroup.closed %]
238                             [% basketgroup.name %] (closed)
239                           [% ELSE %]
240                             </p>
241                             <p>
242                             <select id="basketgroupid" name="basketgroupid">
243                               <option value="new">Add new group</option>
244                               [% FOREACH bg IN basketgroups %]
245                                 [% IF ( bg.default ) %]
246                                     <option value="[% bg.id %]" selected="selected">[% bg.name %]</option>
247                                 [% ELSE %]
248                                   [% UNLESS bg.closed %]
249                                     <option value="[% bg.id %]">[% bg.name %]</option>
250                                   [% ELSE %]
251                                     <option value="[% bg.id %]" disabled="disabled">[% bg.name %] (closed)</option>
252                                   [% END %]
253                                 [% END %]
254                               [% END %]
255                             </select>
256                           [% END %]
257                         </p>
258
259                         [% UNLESS basketgroup.closed %]
260                           <p>
261                             <input type="hidden" id="basketno" value="[% basketno %]" name="basketno" />
262                             <input type="hidden" value="mod_basket" name="op" />
263                             <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
264                             <input type="submit" value="Change basket group" />
265                           </p>
266                         [% END %]
267                     </form>
268                     [% IF ( basketgroupdeliveryplace ) %]<p>Basket group delivery place: [% basketgroupdeliveryplace %]</p>[% END %]
269                     [% IF ( basketgroupbillingplace ) %]<p>Basket group billing place: [% basketgroupbillingplace %]</p>[% END %]
270                 </div>
271                 [% END %]
272             </div>
273             </div>
274         [% END %]
275
276         [% UNLESS ( delete_confirm ) %]
277         <div id="acqui_basket_content" class="yui-g">
278         [% IF ( books_loop ) %]
279         <h2>Orders</h2>
280         <label for="show_all_details">
281             <input type="checkbox" style="vertical-align: middle;" id="show_all_details" />
282             Show all details
283         </label>
284             <table id="orders">
285                 <thead>
286                     <tr>
287                         <th>Order</th>
288                         <th class="gste">RRP tax exc.</th>
289                         <th class="gste">ecost tax exc.</th>
290                         <th class="gsti">RRP tax inc.</th>
291                         <th class="gsti">ecost tax inc.</th>
292                         <th>Qty.</th>
293                         <th class="gste">Total tax exc. ([% currency %])</th>
294                         <th class="gsti">Total tax inc. ([% currency %])</th>
295                         <th>GST %</th>
296                         <th>GST</th>
297                         <th>Fund</th>
298                         [% IF ( active ) %]
299                             [% UNLESS ( closedate ) %]
300                                 <th>Modify</th>
301                                 <th>Delete</th>
302                             [% END %]
303                         [% END %]
304                     </tr>
305                 </thead>
306                 <tfoot>
307                 [% FOREACH foot_loo IN book_foot_loop %]
308                     <tr>
309                         <th>Total (GST [% foot_loo.gstgsti %])</th>
310                         <th class="gste"/><th class="gste"/><th class="gsti"/><th class="gsti"/>
311                         <th>[% foot_loo.quantity %]</th>
312                         <th class="gste">[% foot_loo.totalgste %]</th>
313                         <th class="gsti">[% foot_loo.totalgsti %]</th>
314                         <th/>
315                         <th>[% foot_loo.gstvalue %]</th>
316                         <th/>
317                         [% IF ( active ) %]
318                             [% UNLESS ( closedate ) %]
319                                 <th>&nbsp;</th>
320                                 <th>&nbsp;</th>
321                             [% END %]
322                         [% END %]
323                     </tr>
324                 [% END %]
325                 <tr>
326                     <th>Total ([% currency %])</th>
327                     <th class="gste"/><th class="gste"/><th class="gsti"/><th class="gsti"/>
328                     <th>[% total_quantity %]</th>
329                     <th class="gste">[% total_gste %]</th>
330                     <th class="gsti">[% total_gsti %]</th>
331                     <th/>
332                     <th>[% total_gstvalue %]</th>
333                     <th/>
334                     [% IF ( active ) %]
335                         [% UNLESS ( closedate ) %]
336                             <th>&nbsp;</th>
337                             <th>&nbsp;</th>
338                         [% END %]
339                     [% END %]
340                 </tr>
341                 </tfoot>
342                 <tbody>
343                 [% FOREACH books_loo IN books_loop %]
344                     [% IF ( books_loo.order_received ) %]<tr class="disabled">[% ELSE %][% IF ( books_loo.toggle ) %]<tr class="highlight">[% ELSE %]<tr>[% END %][% END %]
345                         <td>
346                             <p>[% IF ( books_loo.order_received ) %] (rcvd)[% END %]
347                                 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a> by [% books_loo.author %]
348                                 <br />
349                                 [% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %]
350                                 [% IF ( books_loo.issn ) %] - [% books_loo.issn %][% END %]
351                                 [% IF ( books_loo.publishercode ) %], [% books_loo.publishercode %][% END %]
352                                 [% IF ( books_loo.publicationyear ) %], [% books_loo.publicationyear %][% END %]
353                                 [% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %]
354                                 [% IF ( books_loo.suggestionid ) %]
355                                     <br/>
356                                     Suggested by: [% books_loo.surnamesuggestedby %][% IF ( books_loo.firstnamesuggestedby ) %], [% books_loo.firstnamesuggestedby %] [% END %]
357                                     (<a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% books_loo.suggestionid %]&amp;op=show">suggestion #[% books_loo.suggestionid %]</a>)
358                                 [% END %]
359                                 [% IF ( books_loo.notes ) %]
360                                     <p class="ordernote"><strong>Note: </strong>[% books_loo.notes|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]">Change note</a>]</p>
361                                 [% ELSE %]
362                                     [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]">Add note</a>]
363                                 [% END %]
364                             </p>
365                         </td>
366                         <td class="number gste [% IF books_loo.rrpgste.search('^0') %]error[% END %]">[% books_loo.rrpgste %]</td>
367                         <td class="number gste [% IF books_loo.ecostgste.search('^0') %]error[% END %]">[% books_loo.ecostgste %]</td>
368                         <td class="number gsti [% IF books_loo.rrpgsti.search('^0') %]error[% END %]">[% books_loo.rrpgsti %]</td>
369                         <td class="number gsti [% IF books_loo.ecostgsti.search('^0') %]error[% END %]">[% books_loo.ecostgsti %]</td>
370                         <td class="number [% IF books_loo.quantity.search('^0') %]error[% END %]">[% books_loo.quantity %]</td>
371                         <td class="number gste [% IF books_loo.totalgste.search('^0') %]error[% END %]">[% books_loo.totalgste %]</td>
372                         <td class="number gsti [% IF books_loo.totalgsti.search('^0') %]error[% END %]">[% books_loo.totalgsti %]</td>
373                         <td class="number [% IF books_loo.gstgsti.search('^0') %]error[% END %]">[% books_loo.gstgsti %]</td>
374                         <td class="number [% IF books_loo.gstvalue.search('^0') %]error[% END %]">[% books_loo.gstvalue %]</td>
375                         <td>[% books_loo.budget_name %]</td>
376                         [% IF ( active ) %]
377                             [% UNLESS ( closedate ) %]
378                             <td>
379                                 <a href="neworderempty.pl?ordernumber=[% books_loo.ordernumber %]&amp;booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">Modify</a>
380                             </td>
381                             <td>
382                             [% IF ( books_loo.left_holds_on_order ) %]
383                             <span class="button" title="Can't delete order, ([% books_loo.holds_on_order %]) holds are linked with this order cancel holds first">Can't delete order</span><br>
384                             [% ELSE %]
385                             <a href="javascript:confirm_delete_item([% books_loo.ordernumber %],[% books_loo.biblionumber %])" class="button">Delete order</a><br>
386                             [% END %]
387                             [% IF ( books_loo.can_del_bib ) %]
388                             <a href="javascript:confirm_delete_biblio([% books_loo.ordernumber %],[% books_loo.biblionumber %])" class="button">Delete order and catalog record</a><br>
389                             [% ELSE %]
390                             <span class="button" title="Can't delete catalog record, see constraints below">Can't delete order and catalog record</span><br>
391                             [% END %]
392                             [% IF ( books_loo.left_item ) %]
393                             <b title="Can't delete catalog record, because of [% books_loo.items %] existing hold(s)" >[% books_loo.items %] item(s) left</b><br>
394                             [% END %]
395                             [% IF ( books_loo.left_biblio ) %]
396                             <b title="Can't delete catalog record, delete other orders linked to it first">[% books_loo.biblios %] order(s) left</b><br>
397                             [% END %]
398                             [% IF ( books_loo.left_subscription ) %]
399                             <b title="Can't delete catalog record, delete subscriptions first">[% books_loo.subscriptions %] subscription(s) left</b><br>
400                             [% END %]
401                             [% IF ( books_loo.left_holds ) %]
402                             <b title="Can't delete catalog record or order, cancel holds first">[% books_loo.holds %] hold(s) left</b>
403                             [% END %]
404                             </td>
405                             [% END %]
406                         [% END %]
407                     </tr>
408                 [% END %]
409                 </tbody>
410             </table>
411         [% END %]
412         [% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small>
413         [% END %]
414         </div>
415         [% IF (cancelledorders_loop) %]
416           <div id="cancelledorders">
417             <h2>Cancelled orders</h2>
418             <table id="cancelledorderst">
419               <thead>
420                 <tr>
421                   <th>Order</th>
422                   <th class="gste">RRP tax exc.</th>
423                   <th class="gste">ecost tax exc.</th>
424                   <th class="gsti">RRP tax inc.</th>
425                   <th class="gsti">ecost tax inc.</th>
426                   <th>Qty.</th>
427                   <th class="gste">Total tax exc. ([% currency %])</th>
428                   <th class="gsti">Total tax inc. ([% currency %])</th>
429                   <th>GST %</th>
430                   <th>GST</th>
431                   <th>Fund</th>
432                 </tr>
433               </thead>
434               <tbody>
435                 [% FOREACH order IN cancelledorders_loop %]
436                   <tr style="color:grey">
437                     <td>
438                       <p>
439                         [% IF ( order.order_received ) %] (rcvd)[% END %]
440                         [% IF (order.title) %]
441                           [% order.title |html %] by [% order.author %]<br />
442                         [% ELSE %]
443                           <em>Deleted bibliographic record, can't find title</em><br />
444                         [% END %]
445                         [% IF ( order.notes ) %] [% order.notes %][% END %]
446                         [% IF ( order.isbn ) %] - [% order.isbn %][% END %]
447                         [% IF ( order.issn ) %] - [% order.issn %][% END %]
448                         [% IF ( order.publishercode ) %], [% order.publishercode %][% END %]
449                         [% IF ( order.publicationyear ) %], [% order.publicationyear %][% END %]
450                         [% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %]
451                       </p>
452                     </td>
453                     <td class="number gste">[% order.rrpgste %]</td>
454                     <td class="number gste">[% order.ecostgste %]</td>
455                     <td class="number gsti">[% order.rrpgsti %]</td>
456                     <td class="number gsti">[% order.ecostgsti %]</td>
457                     <td class="number">[% order.quantity %]</td>
458                     <td class="number gste">[% order.totalgste %]</td>
459                     <td class="number gsti">[% order.totalgsti %]</td>
460                     <td class="number">[% order.gstgsti %]</td>
461                     <td class="number">[% order.gstvalue %]</td>
462                     <td>[% order.budget_name %]
463                   </tr>
464                 [% END %]
465               </tbody>
466             </table>
467           </div>
468         [% END %]
469         <br />
470         [% UNLESS ( closedate ) %]
471         [% INCLUDE 'acquisitions-add-to-basket.inc' %]
472         [% END %]
473         [% END %]
474 [% END %]
475 [% END %]    [% ELSE %] <!-- if we want just to select a basketgroup for a closed basket -->
476     [% END %]
477 [% IF ( confirm_close ) %]
478         <div id="closebasket_needsconfirmation" class="dialog alert">
479
480         <form action="/cgi-bin/koha/acqui/basket.pl" class="confirm">
481             <h1>Are you sure you want to close basket [% basketname|html %]?</h1>
482             <p>
483             <label for="createbasketgroup">Attach this basket to a new basket group with the same name</label>
484             <input type="checkbox" id="createbasketgroup" name="createbasketgroup"/>
485             </p>
486             <input type="hidden" id="basketno" value="[% basketno %]" name="basketno" />
487             <input type="hidden" value="close" name="op" />
488             <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
489             <input type="hidden" name="confirm" value="1" />
490             <input type="hidden" name="basketgroupname" value="[% basketgroupname %]" />
491             <input type="submit" class="approve" value="Yes, close (Y)" accesskey="y" />
492             <input type="submit" class="deny" value="No, don't close (N)" accesskey="n" onclick="javascript:window.location='/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]';return false;" />
493         </form>
494         </div>
495     [% END %]
496 </div>
497 </div>
498 <div class="yui-b">
499 [% INCLUDE 'acquisitions-menu.inc' %]
500 </div>
501 </div>
502 [% INCLUDE 'intranet-bottom.inc' %]