Lines 3193-3199
sub CountBiblioInOrders {
Link Here
|
3193 |
my $dbh = C4::Context->dbh; |
3193 |
my $dbh = C4::Context->dbh; |
3194 |
my $query = "SELECT count(*) |
3194 |
my $query = "SELECT count(*) |
3195 |
FROM aqorders |
3195 |
FROM aqorders |
3196 |
WHERE biblionumber=? AND (datecancellationprinted IS NULL OR datecancellationprinted='0000-00-00')"; |
3196 |
WHERE biblionumber=? AND datecancellationprinted IS NULL"; |
3197 |
my $sth = $dbh->prepare($query); |
3197 |
my $sth = $dbh->prepare($query); |
3198 |
$sth->execute($biblionumber); |
3198 |
$sth->execute($biblionumber); |
3199 |
my $count = $sth->fetchrow; |
3199 |
my $count = $sth->fetchrow; |
3200 |
- |
|
|