Merge remote branch 'origin/new/bug6554_reverts'
[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                     <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="post">
207                         <ol>
208                         <li>
209                           <span class="label">Basket group:</span>
210                           [% IF basketgroup.closed %]
211                             [% basketgroup.name %] (closed)
212                           [% ELSE %]
213                             </li>
214                             <li>
215                             <select id="basketgroupid" name="basketgroupid">
216                               <option value="new">Add new group</option>
217                               [% FOREACH bg IN basketgroups %]
218                                 [% IF ( bg.default ) %]
219                                     <option value="[% bg.id %]" selected="selected">[% bg.name %]</option>
220                                 [% ELSE %]
221                                   [% UNLESS bg.closed %]
222                                     <option value="[% bg.id %]">[% bg.name %]</option>
223                                   [% ELSE %]
224                                     <option value="[% bg.id %]" disabled="disabled">[% bg.name %] (closed)</option>
225                                   [% END %]
226                                 [% END %]
227                               [% END %]
228                             </select>
229                             <input type="hidden" id="basketno" value="[% basketno %]" name="basketno" />
230                             <input type="hidden" value="mod_basket" name="op" />
231                             <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
232                             <input type="submit" value="Change basket group" />
233                           [% END %]
234                         </li>
235                     [% IF ( basketgroupdeliveryplace ) %]<li><span class="label">Basket group delivery place:</span> [% basketgroupdeliveryplace %]</li>[% END %]
236                     [% IF ( basketgroupbillingplace ) %]<li><span class="label">Basket group billing place:</span> [% basketgroupbillingplace %]</li>[% END %]
237                         </ol>
238                     </form>
239                 </div>
240                 [% END %]
241             </div>
242             </div>
243         [% END %]
244
245         [% UNLESS ( delete_confirm ) %]
246         <div id="acqui_basket_content" class="yui-g">
247         [% IF ( books_loop ) %]
248         <h2>Orders</h2>
249         <label for="show_all_details">
250             <input type="checkbox" style="vertical-align: middle;" id="show_all_details" />
251             Show all details
252         </label>
253             <table id="orders">
254                 <thead>
255                     <tr>
256                         <th>Order</th>
257                         <th class="gste">RRP tax exc.</th>
258                         <th class="gste">ecost tax exc.</th>
259                         <th class="gsti">RRP tax inc.</th>
260                         <th class="gsti">ecost tax inc.</th>
261                         <th>Qty.</th>
262                         <th class="gste">Total tax exc. ([% currency %])</th>
263                         <th class="gsti">Total tax inc. ([% currency %])</th>
264                         <th>GST %</th>
265                         <th>GST</th>
266                         <th>Fund</th>
267                         [% IF ( active ) %]
268                             [% UNLESS ( closedate ) %]
269                                 <th>Modify</th>
270                                 <th>Delete</th>
271                             [% END %]
272                         [% END %]
273                     </tr>
274                 </thead>
275                 <tfoot>
276                 [% FOREACH foot_loo IN book_foot_loop %]
277                     <tr>
278                         <th>Total (GST [% foot_loo.gstgsti %])</th>
279                         <th class="gste">&nbsp;</th>
280                         <th class="gste">&nbsp;</th>
281                         <th class="gsti">&nbsp;</th>
282                         <th class="gsti">&nbsp;</th>
283                         <th>[% foot_loo.quantity %]</th>
284                         <th class="gste">[% foot_loo.totalgste %]</th>
285                         <th class="gsti">[% foot_loo.totalgsti %]</th>
286                         <th>&nbsp;</th>
287                         <th>[% foot_loo.gstvalue %]</th>
288                         <th>&nbsp;</th>
289                         [% IF ( active ) %]
290                             [% UNLESS ( closedate ) %]
291                                 <th>&nbsp;</th>
292                                 <th>&nbsp;</th>
293                             [% END %]
294                         [% END %]
295                     </tr>
296                 [% END %]
297                 <tr>
298                     <th>Total ([% currency %])</th>
299                     <th class="gste">&nbsp;</th>
300                     <th class="gste">&nbsp;</th>
301                     <th class="gsti">&nbsp;</th>
302                     <th class="gsti">&nbsp;</th>
303                     <th>[% total_quantity %]</th>
304                     <th class="gste">[% total_gste %]</th>
305                     <th class="gsti">[% total_gsti %]</th>
306                     <th>&nbsp;</th>
307                     <th>[% total_gstvalue %]</th>
308                     <th>&nbsp;</th>
309                     [% IF ( active ) %]
310                         [% UNLESS ( closedate ) %]
311                             <th>&nbsp;</th>
312                             <th>&nbsp;</th>
313                         [% END %]
314                     [% END %]
315                 </tr>
316                 </tfoot>
317                 <tbody>
318                 [% FOREACH books_loo IN books_loop %]
319                     [% IF ( books_loo.order_received ) %]<tr class="disabled">[% ELSE %][% IF ( books_loo.toggle ) %]<tr class="highlight">[% ELSE %]<tr>[% END %][% END %]
320                         <td>
321                             <p>[% IF ( books_loo.order_received ) %] (rcvd)[% END %]
322                                 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a> by [% books_loo.author %]
323                                 <br />
324                                 [% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %]
325                                 [% IF ( books_loo.issn ) %] - [% books_loo.issn %][% END %]
326                                 [% IF ( books_loo.publishercode ) %], [% books_loo.publishercode %][% END %]
327                                 [% IF ( books_loo.publicationyear ) %], [% books_loo.publicationyear %][% END %]
328                                 [% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %]
329                                 [% IF ( books_loo.suggestionid ) %]
330                                     <br/>
331                                     Suggested by: [% books_loo.surnamesuggestedby %][% IF ( books_loo.firstnamesuggestedby ) %], [% books_loo.firstnamesuggestedby %] [% END %]
332                                     (<a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% books_loo.suggestionid %]&amp;op=show">suggestion #[% books_loo.suggestionid %]</a>)
333                                 [% END %]
334                             </p>
335                                 [% IF ( books_loo.notes ) %]
336                                     <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>
337                                 [% ELSE %]
338                                     <p>[<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]">Add note</a>]</p>
339                                 [% END %]
340                         </td>
341                         <td class="number gste [% IF books_loo.rrpgste.search('^0') %]error[% END %]">[% books_loo.rrpgste %]</td>
342                         <td class="number gste [% IF books_loo.ecostgste.search('^0') %]error[% END %]">[% books_loo.ecostgste %]</td>
343                         <td class="number gsti [% IF books_loo.rrpgsti.search('^0') %]error[% END %]">[% books_loo.rrpgsti %]</td>
344                         <td class="number gsti [% IF books_loo.ecostgsti.search('^0') %]error[% END %]">[% books_loo.ecostgsti %]</td>
345                         <td class="number [% IF books_loo.quantity.search('^0') %]error[% END %]">[% books_loo.quantity %]</td>
346                         <td class="number gste [% IF books_loo.totalgste.search('^0') %]error[% END %]">[% books_loo.totalgste %]</td>
347                         <td class="number gsti [% IF books_loo.totalgsti.search('^0') %]error[% END %]">[% books_loo.totalgsti %]</td>
348                         <td class="number [% IF books_loo.gstgsti.search('^0') %]error[% END %]">[% books_loo.gstgsti %]</td>
349                         <td class="number [% IF books_loo.gstvalue.search('^0') %]error[% END %]">[% books_loo.gstvalue %]</td>
350                         <td>[% books_loo.budget_name %]</td>
351                         [% IF ( active ) %]
352                             [% UNLESS ( closedate ) %]
353                             <td>
354                                 <a href="neworderempty.pl?ordernumber=[% books_loo.ordernumber %]&amp;booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">Modify</a>
355                             </td>
356                             <td>
357                             [% IF ( books_loo.left_holds_on_order ) %]
358                             <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>
359                             [% ELSE %]
360                             <a href="javascript:confirm_delete_item([% books_loo.ordernumber %],[% books_loo.biblionumber %])" class="button">Delete order</a><br>
361                             [% END %]
362                             [% IF ( books_loo.can_del_bib ) %]
363                             <a href="javascript:confirm_delete_biblio([% books_loo.ordernumber %],[% books_loo.biblionumber %])" class="button">Delete order and catalog record</a><br>
364                             [% ELSE %]
365                             <span class="button" title="Can't delete catalog record, see constraints below">Can't delete order and catalog record</span><br>
366                             [% END %]
367                             [% IF ( books_loo.left_item ) %]
368                             <b title="Can't delete catalog record, because of [% books_loo.items %] existing hold(s)" >[% books_loo.items %] item(s) left</b><br>
369                             [% END %]
370                             [% IF ( books_loo.left_biblio ) %]
371                             <b title="Can't delete catalog record, delete other orders linked to it first">[% books_loo.biblios %] order(s) left</b><br>
372                             [% END %]
373                             [% IF ( books_loo.left_subscription ) %]
374                             <b title="Can't delete catalog record, delete subscriptions first">[% books_loo.subscriptions %] subscription(s) left</b><br>
375                             [% END %]
376                             [% IF ( books_loo.left_holds ) %]
377                             <b title="Can't delete catalog record or order, cancel holds first">[% books_loo.holds %] hold(s) left</b>
378                             [% END %]
379                             </td>
380                             [% END %]
381                         [% END %]
382                     </tr>
383                 [% END %]
384                 </tbody>
385             </table>
386         [% END %]
387         [% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small>
388         [% END %]
389         </div>
390         [% IF (cancelledorders_loop) %]
391           <div id="cancelledorders">
392             <h2>Cancelled orders</h2>
393             <table id="cancelledorderst">
394               <thead>
395                 <tr>
396                   <th>Order</th>
397                   <th class="gste">RRP tax exc.</th>
398                   <th class="gste">ecost tax exc.</th>
399                   <th class="gsti">RRP tax inc.</th>
400                   <th class="gsti">ecost tax inc.</th>
401                   <th>Qty.</th>
402                   <th class="gste">Total tax exc. ([% currency %])</th>
403                   <th class="gsti">Total tax inc. ([% currency %])</th>
404                   <th>GST %</th>
405                   <th>GST</th>
406                   <th>Fund</th>
407                 </tr>
408               </thead>
409               <tbody>
410                 [% FOREACH order IN cancelledorders_loop %]
411                   <tr style="color:grey">
412                     <td>
413                       <p>
414                         [% IF ( order.order_received ) %] (rcvd)[% END %]
415                         [% IF (order.title) %]
416                           [% order.title |html %] by [% order.author %]<br />
417                         [% ELSE %]
418                           <em>Deleted bibliographic record, can't find title</em><br />
419                         [% END %]
420                         [% IF ( order.notes ) %] [% order.notes %][% END %]
421                         [% IF ( order.isbn ) %] - [% order.isbn %][% END %]
422                         [% IF ( order.issn ) %] - [% order.issn %][% END %]
423                         [% IF ( order.publishercode ) %], [% order.publishercode %][% END %]
424                         [% IF ( order.publicationyear ) %], [% order.publicationyear %][% END %]
425                         [% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %]
426                       </p>
427                     </td>
428                     <td class="number gste">[% order.rrpgste %]</td>
429                     <td class="number gste">[% order.ecostgste %]</td>
430                     <td class="number gsti">[% order.rrpgsti %]</td>
431                     <td class="number gsti">[% order.ecostgsti %]</td>
432                     <td class="number">[% order.quantity %]</td>
433                     <td class="number gste">[% order.totalgste %]</td>
434                     <td class="number gsti">[% order.totalgsti %]</td>
435                     <td class="number">[% order.gstgsti %]</td>
436                     <td class="number">[% order.gstvalue %]</td>
437                     <td>[% order.budget_name %]
438                   </tr>
439                 [% END %]
440               </tbody>
441             </table>
442           </div>
443         [% END %]
444         <br />
445         [% UNLESS ( closedate ) %]
446         [% INCLUDE 'acquisitions-add-to-basket.inc' %]
447         [% END %]
448         [% END %]
449 [% END %]
450 [% END %]    [% ELSE %] <!-- if we want just to select a basketgroup for a closed basket -->
451     [% END %]
452 [% IF ( confirm_close ) %]
453         <div id="closebasket_needsconfirmation" class="dialog alert">
454
455         <form action="/cgi-bin/koha/acqui/basket.pl" class="confirm">
456             <h1>Are you sure you want to close basket [% basketname|html %]?</h1>
457             <p>
458             <label for="createbasketgroup">Attach this basket to a new basket group with the same name</label>
459             <input type="checkbox" id="createbasketgroup" name="createbasketgroup"/>
460             </p>
461             <input type="hidden" id="basketno" value="[% basketno %]" name="basketno" />
462             <input type="hidden" value="close" name="op" />
463             <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
464             <input type="hidden" name="confirm" value="1" />
465             <input type="hidden" name="basketgroupname" value="[% basketgroupname %]" />
466             <input type="submit" class="approve" value="Yes, close (Y)" accesskey="y" />
467             <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;" />
468         </form>
469         </div>
470     [% END %]
471 </div>
472 </div>
473 <div class="yui-b">
474 [% INCLUDE 'acquisitions-menu.inc' %]
475 </div>
476 </div>
477 [% INCLUDE 'intranet-bottom.inc' %]