@@ -, +, @@ renewal vs checkout --- koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 6 +++--- opac/sco/sco-main.pl | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -114,7 +114,7 @@ [% UNLESS ( renew ) %]
- + @@ -122,7 +122,7 @@
[% ELSE %]
- + @@ -278,7 +278,7 @@ [% IF ISSUE.can_be_renewed %] - + [% UNLESS ( ISSUE.renew ) %] --- a/opac/sco/sco-main.pl +++ a/opac/sco/sco-main.pl @@ -135,7 +135,7 @@ elsif ( $op eq "returnbook" && $allowselfcheckreturns ) { $template->param( returned => $doreturn ); $borrower = GetMember( cardnumber => $patronid ); } -elsif ( $op eq "checkout" ) { +elsif ( $op eq "checkout" || $op eq 'renew' ) { my $impossible = {}; my $needconfirm = {}; if ( !$confirmed ) { @@ -174,7 +174,7 @@ elsif ( $op eq "checkout" ) { barcode => $barcode, ); } - } elsif ( $needconfirm->{RENEW_ISSUE} ) { + } elsif ( $needconfirm->{RENEW_ISSUE} || $op eq 'renew' ) { if ($confirmed) { #warn "renewing"; AddRenewal( $borrower, $item->{itemnumber} ); --