mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix: un prospect n'tait pas pass comme client la validation d'une facture ou d'une
commande
This commit is contained in:
@@ -175,6 +175,9 @@ class Commande extends CommonObject
|
||||
$objMod = new $modName($this->db);
|
||||
$soc = new Societe($this->db);
|
||||
$soc->fetch($this->socidp);
|
||||
|
||||
// Classe la soci<63>t<EFBFBD> rattach<63>e comme client
|
||||
$result=$soc->set_as_client();
|
||||
|
||||
// on v<>rifie si la commande est en num<75>rotation provisoire
|
||||
$comref = substr($this->ref, 1, 4);
|
||||
|
||||
Reference in New Issue
Block a user