my $message;
if ($findborrower) {
my ( $count, $borrowers ) =
- BornameSearch($findborrower, 'cardnumber', 'web' );
+ SearchBorrower($findborrower, 'cardnumber', 'web' );
my @borrowers = @$borrowers;
if ( $#borrowers == -1 ) {
$query->param( 'findborrower', '' );
if ($borrowernumber) {
$borrower = GetMemberDetails( $borrowernumber, 0 );
- my ( $od, $issue, $fines ) = borrdata2( $borrowernumber );
+ my ( $od, $issue, $fines ) = GetBorrowerIssuesAndFines( $borrowernumber );
# Warningdate is the date that the warning starts appearing
my ( $today_year, $today_month, $today_day ) = Today();
}
# FIXME If the issue is confirmed, we launch another time borrdata2, now display the issue count after issue
- my ( $od, $issue, $fines ) = borrdata2( $borrowernumber );
+ my ( $od, $issue, $fines ) = GetBorrowerIssuesAndFines( $borrowernumber );
$template->param(
issuecount => $issue,
);