Modif facture_get_num
Suppression code inlgant
This commit is contained in:
parent
ee612431c2
commit
b2ddcf5692
@ -156,9 +156,12 @@ function facture_get_num($soc, $prefixe_additionnel='')
|
||||
|
||||
$obj = new $classname();
|
||||
|
||||
if ( $obj->getNumRef($soc, $prefixe_additionnel) != "")
|
||||
$numref = "";
|
||||
$numref = $obj->getNumRef($soc, $prefixe_additionnel);
|
||||
|
||||
if ( $numref != "")
|
||||
{
|
||||
return $obj->getNumRef($soc, $prefixe_additionnel);
|
||||
return $numref;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user