modified script to enable circulation system to show picture of borrower for verification purposes.

This commit is contained in:
genjimoto 2005-08-22 12:53:48 +00:00
parent e922c83358
commit f9d2fa784c
1 changed files with 9 additions and 0 deletions

View File

@ -120,12 +120,21 @@ if ($findborrower) {
# get the borrower information.....
my $borrower;
my $picture;
if ($borrowernumber) {
$borrower = getpatroninformation(\%env,$borrowernumber,0);
my ($od,$issue,$fines)=borrdata2(\%env,$borrowernumber);
$template->param(overduecount => $od,
issuecount => $issue,
finetotal => $fines);
my $htdocs = C4::Context->config('intrahtdocs');
$picture = "/borrowerimages/".$borrowernumber.".jpg";
if (-e $htdocs."$picture")
{
$template->param(picture => $picture)
};
}