Fix : set some vars when invoice is back to draft status
This commit is contained in:
parent
bfc5cfebce
commit
1cfd32680a
@ -1829,6 +1829,8 @@ class Facture extends CommonInvoice
|
|||||||
|
|
||||||
if ($error == 0)
|
if ($error == 0)
|
||||||
{
|
{
|
||||||
|
$this->brouillon = 1;
|
||||||
|
$this->statut = 0;
|
||||||
$this->db->commit();
|
$this->db->commit();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user