Fix: remove watermark after validation
This commit is contained in:
parent
66acd4ea8a
commit
f63850c5e9
@ -278,10 +278,11 @@ class Commande extends CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
// Set new ref
|
||||
// Set new ref and current status
|
||||
if (! $error)
|
||||
{
|
||||
$this->ref = $num;
|
||||
$this->statut = 1;
|
||||
}
|
||||
|
||||
if (! $error)
|
||||
|
||||
@ -1576,11 +1576,12 @@ class Facture extends CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
// Set new ref
|
||||
// Set new ref and define current statut
|
||||
if (! $error)
|
||||
{
|
||||
$this->ref = $num;
|
||||
$this->facnumber=$num;
|
||||
$this->statut=1;
|
||||
}
|
||||
|
||||
$this->use_webcal=($conf->global->PHPWEBCALENDAR_BILLSTATUS=='always'?1:0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user