Lines 98-104
for (@failedrenews) { $renew_failed{$_} = 1; }
Link Here
|
98 |
my $findborrower = $query->param('findborrower'); |
98 |
my $findborrower = $query->param('findborrower'); |
99 |
$findborrower =~ s|,| |g; |
99 |
$findborrower =~ s|,| |g; |
100 |
my $borrowernumber = $query->param('borrowernumber'); |
100 |
my $borrowernumber = $query->param('borrowernumber'); |
101 |
|
|
|
102 |
$branch = C4::Context->userenv->{'branch'}; |
101 |
$branch = C4::Context->userenv->{'branch'}; |
103 |
$printer = C4::Context->userenv->{'branchprinter'}; |
102 |
$printer = C4::Context->userenv->{'branchprinter'}; |
104 |
|
103 |
|
Lines 126-131
my $issueconfirmed = $query->param('issueconfirmed');
Link Here
|
126 |
my $cancelreserve = $query->param('cancelreserve'); |
125 |
my $cancelreserve = $query->param('cancelreserve'); |
127 |
my $organisation = $query->param('organisations'); |
126 |
my $organisation = $query->param('organisations'); |
128 |
my $print = $query->param('print'); |
127 |
my $print = $query->param('print'); |
|
|
128 |
my $finesredirect = $query->param('finesredirect'); |
129 |
my $newexpiry = $query->param('dateexpiry'); |
129 |
my $newexpiry = $query->param('dateexpiry'); |
130 |
my $debt_confirmed = $query->param('debt_confirmed') || 0; # Don't show the debt error dialog twice |
130 |
my $debt_confirmed = $query->param('debt_confirmed') || 0; # Don't show the debt error dialog twice |
131 |
|
131 |
|
Lines 176-181
if ( $print eq 'yes' && $borrowernumber ne '' ) {
Link Here
|
176 |
NetworkPrint($letter->{content}); |
176 |
NetworkPrint($letter->{content}); |
177 |
} |
177 |
} |
178 |
$query->param( 'borrowernumber', '' ); |
178 |
$query->param( 'borrowernumber', '' ); |
|
|
179 |
} |
180 |
|
181 |
if ( $finesredirect && $borrowernumber ne '' && $barcode eq '' ){ |
182 |
print $query->redirect("/cgi-bin/koha/members/pay.pl?borrowernumber=$borrowernumber"); |
183 |
} |
184 |
|
185 |
# this was initially inside the previous if with the same conditions but was interfering with $finesredirect |
186 |
if ( $print eq 'yes' && $borrowernumber ne '' ) { |
179 |
$borrowernumber = ''; |
187 |
$borrowernumber = ''; |
180 |
} |
188 |
} |
181 |
|
189 |
|
Lines 709-714
$template->param(
Link Here
|
709 |
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''), |
717 |
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''), |
710 |
SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'), |
718 |
SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'), |
711 |
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), |
719 |
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), |
|
|
720 |
CircPayFinesRedirect => (C4::Context->preference('CircPayFinesRedirect') ? $total : 0 ), |
712 |
); |
721 |
); |
713 |
|
722 |
|
714 |
# save stickyduedate to session |
723 |
# save stickyduedate to session |