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:
parent
8818055c82
commit
40a1ab9db1
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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 %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue