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