From fe6c8e7aa0787cb795cfa3e5424c83fc638b97d7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 27 Feb 2024 13:45:11 +0100 Subject: [PATCH] Bug 34478: Manual fix - adjust op for acqui/cancelorder Signed-off-by: Jonathan Druart --- acqui/cancelorder.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/cancelorder.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui/cancelorder.pl b/acqui/cancelorder.pl index e026a6c4e1..c6761adfa4 100755 --- a/acqui/cancelorder.pl +++ b/acqui/cancelorder.pl @@ -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; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/cancelorder.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/cancelorder.tt index d296a2edc7..f0028e0d3b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/cancelorder.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/cancelorder.tt @@ -49,7 +49,7 @@

[% PROCESS 'av-build-dropbox.inc' name="reason", category="ORDER_CANCELLATION_REASON" default="0" %]

- + -- 2.39.5