Bug 34478: ILL INTRA: cancel to cud-cancel

cancel -> cud-cancel

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Pedro Amorim 2024-02-05 14:48:48 -01:00 committed by Jonathan Druart
parent 8818055c82
commit 40a1ab9db1
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@ Koha::Illrequest->check_url_param_deprecation($params);
my $op = $params->{op} // $params->{method} // 'illlist';
$op = 'cud-create' if $op eq 'create';
$op = 'cud-cancel' if $op eq 'cancel';
my ( $template, $patronnumber, $cookie ) = get_template_and_user( {
template_name => 'ill/ill-requests.tt',

View File

@ -149,7 +149,7 @@
<h1>Confirm ILL request</h1>
[% PROCESS $whole.template %]
[% ELSIF query_type == 'cancel' and !whole.error %]
[% ELSIF query_type == 'cud-cancel' and !whole.error %]
<h1>Cancel a confirmed request</h1>
[% PROCESS $whole.template %]