|
Lines 169-175
sub makepayment {
Link Here
|
| 169 |
}); |
169 |
}); |
| 170 |
|
170 |
|
| 171 |
#check to see what accounttype |
171 |
#check to see what accounttype |
| 172 |
if ( $data->{'accounttype'} eq 'Rep' || $data->{'accounttype'} eq 'L' ) { |
172 |
if ( $data->{itemnumber} && ( $data->{'accounttype'} eq 'Rep' || $data->{'accounttype'} eq 'L' ) ) { |
| 173 |
C4::Circulation::ReturnLostItem( $borrowernumber, $data->{'itemnumber'} ); |
173 |
C4::Circulation::ReturnLostItem( $borrowernumber, $data->{'itemnumber'} ); |
| 174 |
} |
174 |
} |
| 175 |
my $sthr = $dbh->prepare("SELECT max(accountlines_id) AS lastinsertid FROM accountlines"); |
175 |
my $sthr = $dbh->prepare("SELECT max(accountlines_id) AS lastinsertid FROM accountlines"); |
| 176 |
- |
|
|