Fix: probleme de numérotation sur les avoirs
This commit is contained in:
parent
a8ade2beb0
commit
4a97c81a08
@ -203,7 +203,7 @@ function info()
|
|||||||
}
|
}
|
||||||
else if ($facture->type == 2)
|
else if ($facture->type == 2)
|
||||||
{
|
{
|
||||||
$sql.= " WHERE type = 2";
|
$sql.= " WHERE type = 2 AND facnumber REGEXP '^".$this->prefixcreditnote."'";
|
||||||
}
|
}
|
||||||
$resql=$db->query($sql);
|
$resql=$db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user