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