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:
Jonathan Druart 2024-02-27 13:45:11 +01:00
parent 84da78796e
commit fe6c8e7aa0
Signed by: jonathan.druart
GPG key ID: A085E712BEF0E0F0
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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" />