Class automatiquement la société comme client lors de la cloture comme
signee d'une propale
This commit is contained in:
parent
f0acbc69c8
commit
5795733ab4
@ -561,6 +561,13 @@ class Propal
|
|||||||
|
|
||||||
$this->create_commande($user);
|
$this->create_commande($user);
|
||||||
|
|
||||||
|
/* Classe la société rattachée comme client */
|
||||||
|
|
||||||
|
$soc = new Societe($this->db);
|
||||||
|
$soc->id = $this->socidp;
|
||||||
|
$soc->set_as_client();
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user