Fix bug intervention numbering on validation
This commit is contained in:
parent
a78b3149fe
commit
757c22a204
@ -372,7 +372,7 @@ class Fichinter extends CommonObject
|
||||
// Define new ref
|
||||
if (! $error && (preg_match('/^[\(]?PROV/i', $this->ref)))
|
||||
{
|
||||
$num = $this->getNextNumRef($soc);
|
||||
$num = $this->getNextNumRef($this->thirdparty);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user