|
Lines 104-111
my ($op, $patronid, $patronlogin, $patronpw, $barcode, $confirmed) = (
Link Here
|
| 104 |
$query->param("confirmed") || '', |
104 |
$query->param("confirmed") || '', |
| 105 |
); |
105 |
); |
| 106 |
|
106 |
|
| 107 |
my $issuenoconfirm = 1; #don't need to confirm on issue. |
|
|
| 108 |
#warn "issuerid: " . $issuerid; |
| 109 |
my $issuer = GetMember( borrowernumber => $issuerid ); |
107 |
my $issuer = GetMember( borrowernumber => $issuerid ); |
| 110 |
my $item = GetItem(undef,$barcode); |
108 |
my $item = GetItem(undef,$barcode); |
| 111 |
if (C4::Context->preference('SelfCheckoutByLogin') && !$patronid) { |
109 |
if (C4::Context->preference('SelfCheckoutByLogin') && !$patronid) { |
|
Lines 196-209
elsif ( $op eq "checkout" ) {
Link Here
|
| 196 |
$template->param(amount => $currencySymbol.$needconfirm->{DEBT}); |
194 |
$template->param(amount => $currencySymbol.$needconfirm->{DEBT}); |
| 197 |
} |
195 |
} |
| 198 |
} else { |
196 |
} else { |
| 199 |
if ( $confirmed || $issuenoconfirm ) { # we'll want to call getpatroninfo again to get updated issues. |
197 |
if ( $confirmed ) { # we'll want to call getpatroninfo again to get updated issues. |
| 200 |
# warn "issuing book?"; |
|
|
| 201 |
AddIssue( $borrower, $barcode ); |
198 |
AddIssue( $borrower, $barcode ); |
| 202 |
# ($borrower, $flags) = getpatroninformation(undef,undef, $patronid); |
|
|
| 203 |
# $template->param( |
| 204 |
# patronid => $patronid, |
| 205 |
# validuser => 1, |
| 206 |
# ); |
| 207 |
} else { |
199 |
} else { |
| 208 |
$confirm_required = 1; |
200 |
$confirm_required = 1; |
| 209 |
#warn "issue confirmation"; |
201 |
#warn "issue confirmation"; |
| 210 |
- |
|
|