3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Acquisitions › [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</title>
5 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% INCLUDE 'datatables.inc' %]
8 <script type="text/javascript">
10 function updateColumnsVisibility(visible) {
12 $("table .gste, .gsti").show();
14 [% IF ( listincgst ) %]
15 $("table .gste").hide();
17 $("table .gsti").hide();
22 $(document).ready(function() {
23 $("#show_all_details").click(function(){
24 updateColumnsVisibility($(this+":checked").val());
27 $("#show_all_details").attr('checked', false);
28 updateColumnsVisibility(false);
29 [% UNLESS ( closedate ) %]
30 $('#addtoBasket').on('show', function () {
31 $(this).find(".modal-body").html($(".acqui_basket_add")[0].outerHTML);
38 [% UNLESS ( closedate ) %]
39 <script type="text/javascript">
41 function confirm_close() {
42 var is_confirmed = confirm(_("Are you sure you want to close this basket?"));
44 window.location = "[% script_name %]?op=close&basketno=[% basketno %]";
48 function delete_basket(basketno,booksellerid,delbiblio) {
49 window.location = "[% script_name %]?op=delete_confirm&delbiblio="+delbiblio+"&basketno="+basketno+"&booksellerid="+booksellerid;
52 function transfer_order_popup(ordernumber) {
53 var url = "/cgi-bin/koha/acqui/transferorder.pl?"
54 + "ordernumber=" + ordernumber
55 window.open(url, 'TransferOrder','width=600,height=400,toolbar=false,scrollbars=yes');
61 <script type="text/javascript">
63 $(document).ready(function(){
64 $("#basketgroupid").change(function(){
65 if($(this).val() == "new"){
66 location.href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% booksellerid %]";
72 [% UNLESS ( grouped ) %]
73 <script type="text/javascript">
75 function confirm_reopen() {
76 var skip = [% IF ( skip_confirm_reopen ) %] 1 [% ELSE %] 0 [% END %];
77 var is_confirmed = skip || confirm(_("Are you sure you want to reopen this basket?"));
79 window.location = "[% script_name %]?op=reopen&basketno=[% basketno %]";
86 <script type="text/javascript">
88 $(document).ready(function() {
89 var orderst = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
90 "sPaginationType": "four_button",
92 [% UNLESS ( closedate ) %]
94 { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
99 var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, {
100 "sPaginationType": "four_button"
102 $("#reopenbutton").on("click",function(e){
108 function basketUserSearchPopup(f) {
110 "/cgi-bin/koha/acqui/aqbasketuser_search.pl",
111 'BasketUserSearchPopup',
112 'width=740,height=450,toolbar=no,'
116 function add_basket_user(borrowernumber, borrowername) {
117 var ids = $("#basketusers_ids").val();
119 ids = ids.split(':');
123 if (ids.indexOf(borrowernumber) < 0) {
124 ids.push(borrowernumber);
125 $("#basketusers_ids").val(ids.join(':'));
126 var li = '<li id="user_'+borrowernumber+'">'+borrowername
127 + ' [<a style="cursor:pointer" onclick="del_basket_user('+borrowernumber+');">'
128 + _("Delete user") + '</a>]</li>';
129 $("#basketusers_names").append(li);
135 function del_basket_user(borrowernumber) {
136 $("#user_"+borrowernumber).remove();
137 var ids = $("#basketusers_ids").val().split(':');
138 ids.splice(ids.indexOf(borrowernumber.toString()), 1);
139 $("#basketusers_ids").val(ids.join(':'));
143 <style type="text/css">
144 .sortmsg {font-size: 80%;}
147 <body id="acq_basket" class="acq">
148 [% INCLUDE 'header.inc' %]
149 [% INCLUDE 'acquisitions-search.inc' %]
152 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name|html %]</a> › [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</div>
154 <div id="doc3" class="yui-t2">
158 [% IF (cannot_manage_basket) %]
160 <p class="error">You are not authorised to manage this basket.</p>
164 [% UNLESS ( confirm_close ) %]
165 [% UNLESS ( selectbasketg ) %]
166 [% UNLESS ( closedate ) %]
167 <div id="toolbar" class="btn-toolbar">
168 <div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-small" data-toggle="modal"><i class="icon-plus"></i> Add to basket</a></div>
169 <div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&op=add_form" class="btn btn-small" id="basketheadbutton"><i class="icon-pencil"></i> Edit basket</a></div>
170 <div class="btn-group"><a href="#deleteBasketModal" role="button" class="btn btn-small" data-toggle="modal" id="delbasketbutton"><i class="icon-remove"></i> Delete this basket</a></div>
171 [% IF ( unclosable ) %]
172 [% ELSIF ( uncertainprices ) %]
173 <div class="btn-group"><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&owner=1" class="btn btn-small" id="uncertpricesbutton">Uncertain prices</a></div>
175 <div class="btn-group">
176 <a href="[% script_name %]?op=close&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-small" id="closebutton"><i class="icon-remove-sign"></i> Close this basket</a>
179 <div class="btn-group"><a href="[% script_name %]?op=export&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-small" id="exportbutton"><i class="icon-download"></i> Export this basket as CSV</a></div>
181 <!-- Modal for confirm deletion box-->
182 <div class="modal hide" id="deleteBasketModal" tabindex="-1" role="dialog" aria-labelledby="delbasketModalLabel" aria-hidden="true">
183 <div class="modal-header">
184 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
185 <h3>Confirm deletion</h3>
187 [% UNLESS book_foot_loop.size > 0 %]
188 <div class="modal-body">
189 <p>Are you sure you want to delete this basket?</p>
191 <div class="modal-footer">
192 <button type="button" class="btn btn-primary" data-dismiss="modal">Cancel</button>
193 <button type="submit" class="btn btn-default" onclick="delete_basket([% basketno %],[% booksellerid %],0); return false;" >Delete basket</button>
196 <div class="modal-body">
197 <p>Are you sure you want to delete this basket?</p>
199 <p>All orders of this basket will be cancelled and used funds will be refunded.</p>
200 <p>If items have been created when ordering or receiving, they will be deleted.</p>
201 <p>You can choose to delete bibliographic records if possible (bibliographic records that have other items or that are used in a subscription or another order will not be deleted).</p>
203 <div class="modal-footer">
204 <button type="button" class="btn btn-primary" data-dismiss="modal">Cancel</button>
205 <button type="submit" class="btn btn-default" onclick="delete_basket([% basketno %],[% booksellerid %],0); return false;">Delete basket and orders</button>
206 <button type="submit" class="btn btn-default" onclick="delete_basket([% basketno %],[% booksellerid %],1); return false;">Delete basket, orders and bibs</button>
212 [% UNLESS ( grouped ) %]
213 <div id="toolbar" class="btn-toolbar">
214 <div class="btn-group"><a href="#" class="btn btn-small" id="reopenbutton"><i class="icon-refresh"></i> Reopen this basket</a></div>
215 <div class="btn-group"><a href="[% script_name %]?op=export&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-small" id="exportbutton"><i class="icon-download"></i> Export this basket as CSV</a></div>
221 [% IF ( NO_BOOKSELLER ) %]
222 <h2>Vendor not found</h2>
224 [% IF ( delete_confirmed ) %]
225 <h3>Basket deleted</h3>
226 [% IF (cannotdelbiblios) %]
227 <div class="dialog alert">
228 <p><strong>Warning:</strong></p>
229 <p><strong>The following records could not be deleted:</strong></p>
231 [% FOREACH cannotdelbiblio IN cannotdelbiblios %]
232 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cannotdelbiblio.biblionumber %]">[% cannotdelbiblio.title |html %]</a> by [% cannotdelbiblio.author %]:
234 [% IF (cannotdelbiblio.itemcount) %]<li>[% cannotdelbiblio.itemcount %] item(s) attached.</li>[% END %]
235 [% IF (cannotdelbiblio.subscriptions) %]<li>[% cannotdelbiblio.subscriptions %] subscription(s) attached.</li>[% END %]
236 [% IF (cannotdelbiblio.countbiblio) %]<li>[% cannotdelbiblio.countbiblio %] order(s) attached.</li>[% END %]
237 [% IF (cannotdelbiblio.othererror) %]<li>Unknown error.</li>[% END %]
243 <a href="booksellers.pl">Click here to go back to booksellers page</a>
245 <META HTTP-EQUIV=Refresh CONTENT="0; url=booksellers.pl">
248 <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>
249 [% IF ( delete_confirm ) %]
251 <span class="yui-button yui-link-button">
252 <em class="first-child">
253 <a href="[% script_name %]?op=delete_confirm&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="yui-link-button">Yes, delete this basket!</a>
256 <span class="yui-button yui-link-button">
257 <em class="first-child">
258 <a href="[% script_name %]?basketno=[% basketno %]" class="yui-link-button">Cancel</a>
263 [% IF ( basketno ) %]
264 <div id="acqui_basket_summary" class="yui-g">
266 <div class="yui-u first">
268 [% IF ( basketnote ) %]<li><span class="label">Internal note:</span> [% basketnote %]</li>[% END %]
269 [% IF ( basketbooksellernote ) %]<li><span class="label">Vendor note:</span> [% basketbooksellernote %]</li>[% END %]
270 [% IF ( basketcontractno ) %]
271 <li><span class="label">Contract name:</span> <a href="../admin/aqcontract.pl?op=add_form&contractnumber=[% basketcontractno %]&booksellerid=[% booksellerid %]">[% basketcontractname %]</a></li>
273 [% IF ( deliveryplace ) %]<li><span class="label">Delivery place:</span> [% deliveryplace %]</li>[% END %]
274 [% IF ( billingplace ) %]<li><span class="label">Billing place:</span> [% billingplace %]</li>[% END %]
275 [% IF ( authorisedbyname ) %]<li><span class="label">Created by:</span> [% authorisedbyname %]</li>[% END %]
277 <form action="" method="post">
278 <span class="label">Managed by:</span>
279 <div style="float:left">
280 <ul id="basketusers_names" style="padding-left:0">
281 [% FOREACH user IN basketusers %]
282 <li id="user_[% user.borrowernumber %]">
283 [% user.firstname %] [% user.surname %]
284 [<a onclick="del_basket_user([% user.borrowernumber %]);" style="cursor:pointer">Delete user</a>]
288 <input type="hidden" id="basketno" name="basketno" value="[% basketno %]" />
289 <input type="hidden" id="basketusers_ids" name="basketusers_ids" value="[% basketusers_ids %]" />
290 <input type="hidden" id="op" name="op" value="mod_users" />
291 <input type="button" id="add_user" onclick="basketUserSearchPopup();" value="Add user" />
292 <input type="submit" value="Save changes" />
297 <span class="label">Library:</span>
298 [% IF basketbranchname %]
299 [% basketbranchname %]
303 [% IF branches_loop.size %]
304 <form action="" method="post">
305 <select id="branch" name="branch">
306 <option value="">(no library)</option>
307 [% FOREACH branch IN branches_loop %]
308 [% IF (branch.selected) %]
309 <option selected="selected" value="[% branch.branchcode %]"> [% branch.branchname %]</option>
311 <option value="[% branch.branchcode %]"> [% branch.branchname %]</option>
315 <input type="hidden" id="basketno" name="basketno" value="[% basketno %]" />
316 <input type="hidden" id="op" name="op" value="mod_branch" />
317 <input type="submit" value="Change" />
321 [% IF ( creationdate ) %]<li><span class="label">Opened on:</span> [% creationdate | $KohaDates %]</li>[% END %]
322 [% IF ( closedate ) %]<li><span class="label">Closed on:</span> [% closedate | $KohaDates %]</li>[% END %]
323 [% IF ( estimateddeliverydate ) %]<li><span class="label">Estimated delivery date:</span> [% estimateddeliverydate | $KohaDates %]</li>[% END %]
327 [% IF ( closedate ) %]
329 [% IF ( CAN_user_acquisition_group_manage ) %]
330 <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="post">
334 <span class="label">Basket group:</span>
335 [% IF basketgroup.id and not basketgroup.name %]
336 [% SET basketgroup.name = "Basket group no. " _ basketgroup.id %]
338 [% IF basketgroup.closed %]
339 [% IF ( CAN_user_acquisition_group_manage ) %]
340 <a href="basketgroup.pl?op=add&booksellerid=[% booksellerid %]&basketgroupid=[% basketgroup.id %]" title="basketgroup">[% basketgroup.name %] (closed)</a>
342 [% basketgroup.name %] (closed)
344 [% ELSIF ( ! CAN_user_acquisition_group_manage ) %]
345 [%- IF basketgroup.id -%]
346 [% basketgroup.name %]
351 <select id="basketgroupid" name="basketgroupid">
352 <option value="">No group</option>
353 [% FOREACH bg IN basketgroups %]
354 [% IF ( bg.default ) %]
355 <option value="[% bg.id %]" selected="selected">[% bg.name %]</option>
357 [% UNLESS bg.closed %]
358 <option value="[% bg.id %]">[% bg.name %]</option>
360 <option value="[% bg.id %]" disabled="disabled">[% bg.name %] (closed)</option>
364 <option value="new">Add new group</option>
366 <input type="hidden" id="basketno" value="[% basketno %]" name="basketno" />
367 <input type="hidden" value="mod_basket" name="op" />
368 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
369 <input type="submit" value="Change basket group" />
372 [% IF ( basketgroup.deliveryplacename ) %]<li><span class="label">Basket group delivery placename:</span> [% basketgroup.deliveryplacename %]</li>[% END %]
373 [% IF ( basketgroup.billingplacename ) %]<li><span class="label">Basket group billing place:</span> [% basketgroup.billingplacename %]</li>[% END %]
375 [% IF ( CAN_user_acquisition_group_manage ) %]
384 [% UNLESS ( delete_confirm ) %]
385 <div id="acqui_basket_content" class="yui-g">
386 [% IF ( books_loop ) %]
388 <label for="show_all_details">
389 <input type="checkbox" style="vertical-align: middle;" id="show_all_details" />
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>
402 <th class="gste">Total tax exc. ([% currency %])</th>
403 <th class="gsti">Total tax inc. ([% currency %])</th>
408 [% UNLESS ( closedate ) %]
416 [% FOREACH foot_loo IN book_foot_loop %]
419 <th>Total (GST [% foot_loo.gstrate * 100 | $Price %])</th>
420 <th class="gste"> </th>
421 <th class="gste"> </th>
422 <th class="gsti"> </th>
423 <th class="gsti"> </th>
424 <th>[% foot_loo.quantity %]</th>
425 <th class="gste">[% foot_loo.totalgste %]</th>
426 <th class="gsti">[% foot_loo.totalgsti %]</th>
428 <th>[% foot_loo.gstvalue %]</th>
431 [% UNLESS ( closedate ) %]
440 <th>Total ([% currency %])</th>
441 <th class="gste"> </th>
442 <th class="gste"> </th>
443 <th class="gsti"> </th>
444 <th class="gsti"> </th>
445 <th>[% total_quantity %]</th>
446 <th class="gste">[% total_gste %]</th>
447 <th class="gsti">[% total_gsti %]</th>
449 <th>[% total_gstvalue %]</th>
452 [% UNLESS ( closedate ) %]
460 [% FOREACH books_loo IN books_loop %]
461 [% IF ( books_loo.order_received ) %]<tr class="disabled">[% ELSE %][% IF ( books_loo.toggle ) %]<tr class="highlight">[% ELSE %]<tr>[% END %][% END %]
463 [% books_loo.ordernumber %]
467 [% IF ( books_loo.order_received ) %] (rcvd)[% END %]
468 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a> by [% books_loo.author %]
470 [% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %]
471 [% IF ( books_loo.issn ) %] - [% books_loo.issn %][% END %]
472 [% IF ( books_loo.publishercode ) %], [% books_loo.publishercode %][% END %]
473 [% IF ( books_loo.publicationyear ) %], [% books_loo.publicationyear %][% END %]
474 [% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %]
475 [% IF ( books_loo.suggestionid ) %]
477 Suggested by: [% books_loo.surnamesuggestedby %][% IF ( books_loo.firstnamesuggestedby ) %], [% books_loo.firstnamesuggestedby %] [% END %]
478 (<a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% books_loo.suggestionid %]&op=show">suggestion #[% books_loo.suggestionid %]</a>)
481 [% IF ( books_loo.order_internalnote ) %]
482 <p class="ordernote"><strong>Internal note: </strong>[% books_loo.order_internalnote|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">Change internal note</a>]</p>
484 [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">Add internal note</a>]
486 [% IF ( books_loo.order_vendornote ) %]
487 <p class="ordernote"><strong>Vendor note: </strong>[% books_loo.order_vendornote|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">Change vendor note</a>]</p>
489 [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">Add vendor note</a>]
491 [% IF (books_loo.transferred_from) %]
492 [% basket = books_loo.transferred_from.basket %]
493 [% bookseller = books_loo.transferred_from.bookseller %]
494 [% timestamp = books_loo.transferred_from.timestamp %]
496 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno %]">basket: [% basket.basketname %]</a>
497 (<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id %]">[% bookseller.name %]</a>)
498 on <span title="[% timestamp | $KohaDates with_hours = 1 %]">
499 [% timestamp | $KohaDates %]
504 [% SET zero_regex = "^0{1,}\.?0{1,}[^1-9]" %] [%# 0 or 0.0 or 0.00 or 00 or 00.0 or 00.00 or 0.000 ... %]
505 [%# FIXME: use of a regexp is not ideal; bugs 9410 and 10929 suggest better way of handling this %]
506 <td class="number gste [% IF books_loo.rrpgste.search(zero_regex) %]error[% END %]">[% books_loo.rrpgste | $Price %]</td>
507 <td class="number gste [% IF books_loo.ecostgste.search(zero_regex) %]error[% END %]">[% books_loo.ecostgste | $Price%]</td>
508 <td class="number gsti [% IF books_loo.rrpgsti.search(zero_regex) %]error[% END %]">[% books_loo.rrpgsti | $Price %]</td>
509 <td class="number gsti [% IF books_loo.ecostgsti.search(zero_regex) %]error[% END %]">[% books_loo.ecostgsti | $Price %]</td>
510 <td class="number [% IF books_loo.quantity.search(zero_regex) %]error[% END %]">[% books_loo.quantity %]</td>
511 <td class="number gste [% IF books_loo.totalgste.search(zero_regex) %]error[% END %]">[% books_loo.totalgste | $Price %]</td>
512 <td class="number gsti [% IF books_loo.totalgsti.search(zero_regex) %]error[% END %]">[% books_loo.totalgsti | $Price %]</td>
513 <td class="number">[% books_loo.gstrate * 100 | $Price %]</td>
514 <td class="number [% IF books_loo.gstvalue.search(zero_regex) %]error[% END %]">[% books_loo.gstvalue | $Price %]</td>
515 <td>[% books_loo.budget_name %]</td>
517 [% UNLESS ( closedate ) %]
519 <a href="neworderempty.pl?ordernumber=[% books_loo.ordernumber %]&booksellerid=[% booksellerid %]&basketno=[% basketno %]">Modify</a>
520 [% UNLESS (books_loo.order_received) %]
522 <a href="#" onclick="transfer_order_popup([% books_loo.ordernumber %]); return false;">Transfer</a>
526 [% IF ( books_loo.left_holds_on_order ) %]
527 <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>
529 <a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">Delete order</a><br>
531 [% IF ( books_loo.can_del_bib ) %]
532 <a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&del_biblio=1&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">Delete order and catalog record</a><br>
534 <span class="button" title="Can't delete catalog record, see constraints below">Can't delete order and catalog record</span><br>
536 [% IF ( books_loo.left_item ) %]
537 <b title="Can't delete catalog record, because of [% books_loo.items %] existing hold(s)" >[% books_loo.items %] item(s) left</b><br>
539 [% IF ( books_loo.left_biblio ) %]
540 <b title="Can't delete catalog record, delete other orders linked to it first">[% books_loo.biblios %] order(s) left</b><br>
542 [% IF ( books_loo.left_subscription ) %]
543 <b title="Can't delete catalog record, delete subscriptions first">[% books_loo.subscriptions %] subscription(s) left</b><br>
545 [% IF ( books_loo.left_holds ) %]
546 <b title="Can't delete catalog record or order, cancel holds first">[% books_loo.holds %] hold(s) left</b>
556 [% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small>
559 [% IF (cancelledorders_loop) %]
560 <div id="cancelledorders">
561 <h2>Cancelled orders</h2>
562 <table id="cancelledorderst">
567 <th class="gste">RRP tax exc.</th>
568 <th class="gste">ecost tax exc.</th>
569 <th class="gsti">RRP tax inc.</th>
570 <th class="gsti">ecost tax inc.</th>
572 <th class="gste">Total tax exc. ([% currency %])</th>
573 <th class="gsti">Total tax inc. ([% currency %])</th>
580 [% FOREACH order IN cancelledorders_loop %]
581 <tr style="color:grey">
583 [% order.ordernumber %]
587 [% IF ( order.order_received ) %] (rcvd)[% END %]
588 [% IF (order.title) %]
589 [% order.title |html %] by [% order.author %]<br />
591 <em>Deleted bibliographic record, can't find title</em><br />
593 [% IF ( order.order_internalnote ) %] [% order.order_internalnote %][% END %]
594 [% IF ( order.isbn ) %] - [% order.isbn %][% END %]
595 [% IF ( order.issn ) %] - [% order.issn %][% END %]
596 [% IF ( order.publishercode ) %], [% order.publishercode %][% END %]
597 [% IF ( order.publicationyear ) %], [% order.publicationyear %][% END %]
598 [% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %]
599 [% IF ( order.cancellationreason ) %]
601 Cancellation reason: [% order.cancellationreason %]
604 [% IF order.transferred_to %]
605 [% basket = order.transferred_to.basket %]
606 [% bookseller = order.transferred_to.bookseller %]
607 [% timestamp = order.transferred_to.timestamp %]
609 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno %]">basket: [% basket.basketname %]</a>
610 (<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id %]">[% bookseller.name %]</a>)
611 on <span title="[% timestamp | $KohaDates with_hours = 1%]">
612 [% timestamp | $KohaDates %]
617 <td class="number gste">[% order.rrpgste %]</td>
618 <td class="number gste">[% order.ecostgste %]</td>
619 <td class="number gsti">[% order.rrpgsti %]</td>
620 <td class="number gsti">[% order.ecostgsti %]</td>
621 <td class="number">[% order.quantity %]</td>
622 <td class="number gste">[% order.totalgste %]</td>
623 <td class="number gsti">[% order.totalgsti %]</td>
624 <td class="number">[% order.gstrate * 100 %]</td>
625 <td class="number">[% order.gstvalue %]</td>
626 <td>[% order.budget_name %]
634 [% UNLESS ( closedate ) %]
637 <div id="addtoBasket" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="addtoBasketLabel" aria-hidden="true">
638 <div class="modal-body"></div>
639 <div class="modal-footer">
640 <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
644 [% INCLUDE 'acquisitions-add-to-basket.inc' %]
648 [% END %] [% ELSE %] <!-- if we want just to select a basketgroup for a closed basket -->
650 [% IF ( confirm_close ) %]
651 <div id="closebasket_needsconfirmation" class="dialog alert">
653 <form action="/cgi-bin/koha/acqui/basket.pl" class="confirm">
654 <h1>Are you sure you want to close basket [% basketname|html %]?</h1>
655 [% IF ( CAN_user_acquisition_group_manage ) %]
657 <label for="createbasketgroup">Attach this basket to a new basket group with the same name</label>
658 <input type="checkbox" id="createbasketgroup" name="createbasketgroup"/>
661 <input type="hidden" id="basketno" value="[% basketno %]" name="basketno" />
662 <input type="hidden" value="close" name="op" />
663 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
664 <input type="hidden" name="confirm" value="1" />
665 <input type="hidden" name="basketgroupname" value="[% basketgroupname %]" />
666 <input type="submit" class="approve" value="Yes, close (Y)" accesskey="y" />
667 <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;" />
672 [% END %][%# IF (cannot_manage_basket) %]
675 [% INCLUDE 'acquisitions-menu.inc' %]
678 [% INCLUDE 'intranet-bottom.inc' %]