Lines 99-111
if (defined C4::Context->preference('SCOAllowCheckin')) {
Link Here
|
99 |
} |
99 |
} |
100 |
|
100 |
|
101 |
my $issuerid = $loggedinuser; |
101 |
my $issuerid = $loggedinuser; |
102 |
my ($op, $patronid, $patronlogin, $patronpw, $barcode, $confirmed, $newissues) = ( |
102 |
my ($op, $patronid, $patronlogin, $patronpw, $barcode, $confirmed, $seen, $newissues) = ( |
103 |
$query->param("op") || '', |
103 |
$query->param("op") || '', |
104 |
$query->param("patronid") || '', |
104 |
$query->param("patronid") || '', |
105 |
$query->param("patronlogin")|| '', |
105 |
$query->param("patronlogin")|| '', |
106 |
$query->param("patronpw") || '', |
106 |
$query->param("patronpw") || '', |
107 |
$query->param("barcode") || '', |
107 |
$query->param("barcode") || '', |
108 |
$query->param("confirmed") || '', |
108 |
$query->param("confirmed") || '', |
|
|
109 |
$query->param("seen") || 0, |
109 |
$query->param("newissues") || '', |
110 |
$query->param("newissues") || '', |
110 |
); |
111 |
); |
111 |
|
112 |
|
Lines 268-274
if ( $patron && ( $op eq 'renew' ) ) {
Link Here
|
268 |
my ($status,$renewerror) = CanBookBeRenewed( $borrower->{borrowernumber}, $item->itemnumber ); |
269 |
my ($status,$renewerror) = CanBookBeRenewed( $borrower->{borrowernumber}, $item->itemnumber ); |
269 |
if ($status) { |
270 |
if ($status) { |
270 |
#warn "renewing"; |
271 |
#warn "renewing"; |
271 |
AddRenewal( $borrower->{borrowernumber}, $item->itemnumber ); |
272 |
AddRenewal( $borrower->{borrowernumber}, $item->itemnumber, undef, undef, undef, undef, $seen ); |
272 |
push @newissueslist, $barcode; |
273 |
push @newissueslist, $barcode; |
273 |
$template->param( renewed => 1 ); |
274 |
$template->param( renewed => 1 ); |
274 |
} |
275 |
} |
275 |
- |
|
|