Fix: probleme de numrotation sur les avoirs

This commit is contained in:
Regis Houssin 2007-07-19 18:04:25 +00:00
parent a8ade2beb0
commit 4a97c81a08

View File

@ -203,7 +203,7 @@ function info()
}
else if ($facture->type == 2)
{
$sql.= " WHERE type = 2";
$sql.= " WHERE type = 2 AND facnumber REGEXP '^".$this->prefixcreditnote."'";
}
$resql=$db->query($sql);
if ($resql)