This commit is contained in:
Regis Houssin 2006-05-09 19:08:35 +00:00
parent fd90ff7714
commit 32b915396a
2 changed files with 2 additions and 1 deletions

View File

@ -665,6 +665,7 @@ class Commande
$this->ref = $obj->ref;
$this->ref_client = $obj->ref_client;
$this->soc_id = $obj->fk_soc;
$this->socidp = $obj->fk_soc;
$this->statut = $obj->fk_statut;
$this->user_author_id = $obj->fk_user_author;
$this->total_ht = $obj->total_ht;

View File

@ -342,7 +342,7 @@ class Propal
function fetch_client()
{
$client = new Societe($this->db);
$client->fetch($this->socidp);
$client->fetch($this->id);
$this->client = $client;
}