|
@ -151,7 +151,8 @@ sub CalcFine { |
|
|
and items.biblioitemnumber=biblioitems.biblioitemnumber and |
|
|
and items.biblioitemnumber=biblioitems.biblioitemnumber and |
|
|
biblioitems.itemtype=itemtypes.itemtype and |
|
|
biblioitems.itemtype=itemtypes.itemtype and |
|
|
categoryitem.itemtype=itemtypes.itemtype and |
|
|
categoryitem.itemtype=itemtypes.itemtype and |
|
|
categoryitem.categorycode='?' and (items.itemlost <> 1 or items.itemlost is NULL)"); |
|
|
categoryitem.categorycode=? and |
|
|
|
|
|
(items.itemlost <> 1 or items.itemlost is NULL)"); |
|
|
# print $query; |
|
|
# print $query; |
|
|
$sth->execute($itemnumber,$bortype); |
|
|
$sth->execute($itemnumber,$bortype); |
|
|
my $data=$sth->fetchrow_hashref; |
|
|
my $data=$sth->fetchrow_hashref; |
|
|