$branch = 'OPACRenew';
}
else {
elsif ( !$branch && C4::Context->userenv ) {
$branch =
$branch = C4::Context->userenv->{branch};
C4::Context->userenv ? C4::Context->userenv->{branch} : $branch;
# Add the renewal to stats
-