bug fixed: ItemType function seems to have vanished. I replace by the

description key returned by C4::Koha::getitemtypeinfo.
This commit is contained in:
plg 2006-03-31 15:56:27 +00:00
parent dc986ecac5
commit 0840184d25

View file

@ -177,7 +177,7 @@ for (my $i=0;$i<$count;$i++){
# return the correct item type either (or a properly-formatted # return the correct item type either (or a properly-formatted
# charge, for that matter). # charge, for that matter).
my ($charge,$itemtype)=calc_charges($dbh,$issue->[$i]{'itemnumber'},$bornum); my ($charge,$itemtype)=calc_charges($dbh,$issue->[$i]{'itemnumber'},$bornum);
$row{'itemtype'}=&ItemType($itemtype); $row{'itemtype'} = getitemtypeinfo($itemtype)->{description};
$row{'charge'}= sprintf("%.2f",$charge); $row{'charge'}= sprintf("%.2f",$charge);
#check item is not reserved #check item is not reserved