1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Cancel order › Acquisition › Koha</title>
3 [% INCLUDE 'doc-head-close.inc' %]
6 <body id="acq_cancelorder" class="acq">
7 [% INCLUDE 'header.inc' %]
9 [% WRAPPER 'sub-header.inc' %]
10 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13 <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a>
16 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
19 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% basket.bookseller.id | uri %]">[% basket.bookseller.name | html %]</a>
22 <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>
24 <a href="#" aria-current="page">Cancel order</a>
30 <div class="main container-fluid">
32 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
34 [% UNLESS ( confirmcancel ) %]
35 <form method="post" action="">
36 <div class="dialog alert">
37 <h1>Are you sure you want to cancel this order ([% ordernumber | html %])</h1>
40 <span>Bibliographic record will be deleted too.</span>
42 <span>Bibliographic record will not be deleted.</span>
46 [% PROCESS 'av-build-dropbox.inc' name="reason", category="ORDER_CANCELLATION_REASON" default="0" %]
48 <input type="hidden" name="action" value="confirmcancel" />
49 <input type="hidden" value="[% ordernumber | html %]" name="ordernumber" />
50 <input type="hidden" value="[% biblionumber | html %]" name="biblionumber" />
51 <input type="hidden" value="[% basket.basketno | html %]" name="basketno" />
52 <input type="hidden" value="[% referrer | html %]" name="referrer" />
54 <input type="hidden" value="1" name="del_biblio" />
56 <button type="submit" class="approve" accesskey="y"><i class="fa fa-fw fa-check"></i> Yes, cancel (Y)</button>
57 <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>
61 [% IF ( success_cancelorder ) %]
62 <div class="dialog message">
63 The order has been successfully cancelled
65 <div class="dialog alert">
66 An error has occurred.
67 [% IF error_order_already_cancelled %]
68 <p>The order has been cancelled already.</p>
69 [% ELSIF error_order_not_found %]
70 <p>The order could not be found.</p>
72 [% IF ( error_delitem ) %]
73 <p>The order has been cancelled, although one or more items could not have been deleted.</p>
75 [% IF ( error_delbiblio ) %]
76 <p>The order has been cancelled, although the record has not been deleted.</p>
79 <p><a href="[% referrer | url %]">OK</a></p>
86 [% INCLUDE 'intranet-bottom.inc' %]