Bug 34478: Manual fix - adjust op for acqui/cancelorder
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
84da78796e
commit
fe6c8e7aa0
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ my $basket = Koha::Acquisition::Baskets->find({ basketno => $basketno }, { prefe
|
|||
my $referrer = $input->param('referrer') || $input->referer;
|
||||
my $delete_biblio = $input->param('del_biblio') ? 1 : 0;
|
||||
|
||||
if( $op eq "confirmcancel" ) {
|
||||
if( $op eq "cud-confirmcancel" ) {
|
||||
my $reason = $input->param('reason');
|
||||
my $order = Koha::Acquisition::Orders->find($ordernumber);
|
||||
my @messages;
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<p>
|
||||
[% PROCESS 'av-build-dropbox.inc' name="reason", category="ORDER_CANCELLATION_REASON" default="0" %]
|
||||
</p>
|
||||
<input type="hidden" name="op" value="confirmcancel" />
|
||||
<input type="hidden" name="op" value="cud-confirmcancel" />
|
||||
<input type="hidden" value="[% ordernumber | html %]" name="ordernumber" />
|
||||
<input type="hidden" value="[% biblionumber | html %]" name="biblionumber" />
|
||||
<input type="hidden" value="[% basket.basketno | html %]" name="basketno" />
|
||||
|
|
Loading…
Reference in a new issue