2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Cancel order › Acquisition › Koha</title>
4 [% INCLUDE 'doc-head-close.inc' %]
7 <body id="acq_cancelorder" class="acq">
8 [% INCLUDE 'header.inc' %]
10 [% WRAPPER 'sub-header.inc' %]
11 [% WRAPPER breadcrumbs %]
12 [% WRAPPER breadcrumb_item %]
13 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
15 [% WRAPPER breadcrumb_item %]
16 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% basket.bookseller.id | uri %]">[% basket.bookseller.name | html %]</a>
18 [% WRAPPER breadcrumb_item %]
19 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | uri %]">Basket [% basket.basketname | html %] ([% basket.basketno | html %]) for [% basket.bookseller.name | html %]</a>
21 [% WRAPPER breadcrumb_item bc_active= 1 %]
22 <span>Cancel order</span>
24 [% END #/ WRAPPER breadcrumbs %]
25 [% END #/ WRAPPER sub-header.inc %]
27 <div class="main container-fluid">
29 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
31 [% UNLESS ( confirmcancel ) %]
32 <form method="post" action="">
33 <div class="dialog alert">
34 <h1>Are you sure you want to cancel this order ([% ordernumber | html %])</h1>
37 <span>Bibliographic record will be deleted too.</span>
39 <span>Bibliographic record will not be deleted.</span>
43 [% PROCESS 'av-build-dropbox.inc' name="reason", category="ORDER_CANCELLATION_REASON" default="0" %]
45 <input type="hidden" name="action" value="confirmcancel" />
46 <input type="hidden" value="[% ordernumber | html %]" name="ordernumber" />
47 <input type="hidden" value="[% biblionumber | html %]" name="biblionumber" />
48 <input type="hidden" value="[% basket.basketno | html %]" name="basketno" />
49 <input type="hidden" value="[% referrer | html %]" name="referrer" />
51 <input type="hidden" value="1" name="del_biblio" />
53 <button type="submit" class="approve" accesskey="y"><i class="fa fa-fw fa-check"></i> Yes, cancel (Y)</button>
54 <button class="deny" accesskey="n" onclick="window.location='[% referrer | html %]';return false;"><i class="fa fa-fw fa-remove"></i> No, don't cancel (N)</button>
58 [% IF ( success_cancelorder ) %]
59 <div class="dialog message">
60 The order has been successfully cancelled
62 <div class="dialog alert">
63 An error has occurred.
64 [% IF error_order_already_cancelled %]
65 <p>The order has been cancelled already.</p>
66 [% ELSIF error_order_not_found %]
67 <p>The order could not be found.</p>
69 [% IF ( error_delitem ) %]
70 <p>The order has been cancelled, although one or more items could not have been deleted.</p>
72 [% IF ( error_delbiblio ) %]
73 <p>The order has been cancelled, although the record has not been deleted.</p>
76 <p><a href="[% referrer | url %]">OK</a></p>
83 [% INCLUDE 'intranet-bottom.inc' %]