wr-70205 Rental discount not being respected
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
e88d2b3889
commit
92f35aee3b
1 changed files with 1 additions and 1 deletions
|
@ -2288,7 +2288,7 @@ sub GetIssuingCharges {
|
|||
my $q2 = "SELECT rentaldiscount FROM borrowers
|
||||
LEFT JOIN issuingrules ON borrowers.categorycode = issuingrules.categorycode
|
||||
WHERE borrowers.borrowernumber = ?
|
||||
AND issuingrules.itemtype = ?";
|
||||
AND (issuingrules.itemtype = ? OR issuingrules.itemtype = '*')";
|
||||
my $sth2 = $dbh->prepare($q2);
|
||||
$sth2->execute( $borrowernumber, $item_type );
|
||||
if ( my $data2 = $sth2->fetchrow_hashref ) {
|
||||
|
|
Loading…
Reference in a new issue