(bug #4051) add columns in csv export of overdues

this patch add 2 columns in the csv export :
* item callnumber
* issue date
This commit is contained in:
Nahuel ANGELINETTI 2010-01-19 12:00:42 +01:00 committed by Henri-Damien LAURENT
parent 04d92ee17e
commit 846bef3f85
1 changed files with 4 additions and 0 deletions

View File

@ -121,7 +121,9 @@ my $strsth="SELECT date_due,
borrowers.phone,
borrowers.email,
issues.itemnumber,
issues.issuedate,
items.barcode,
items.itemcallnumber,
biblio.title,
biblio.author,
borrowers.borrowernumber,
@ -155,10 +157,12 @@ $sth->execute();
my @overduedata;
while (my $data=$sth->fetchrow_hashref) {
push @overduedata, {
issuedate => format_date($data->{issuedate}),
duedate => format_date($data->{date_due}),
borrowernumber => $data->{borrowernumber},
barcode => $data->{barcode},
itemnum => $data->{itemnumber},
itemcallnumber => $data->{itemcallnumber},
name => $data->{borrower},
address => $data->{address},
city => $data->{city},