Début ajout de la gestion des adresses de livraison
This commit is contained in:
parent
884367376e
commit
6ff8c7a9ac
1 changed files with 13 additions and 0 deletions
|
|
@ -256,6 +256,19 @@ class Livraison
|
|||
$this->nom_societe = $obj->nom;
|
||||
$this->socid = $obj->idp;
|
||||
$this->id = $obj->idp;
|
||||
|
||||
if ($this->client == 1)
|
||||
{
|
||||
$this->nom_url = '<a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$this->id.'">'.$obj->nom.'</a>';
|
||||
}
|
||||
elseif($this->client == 2)
|
||||
{
|
||||
$this->nom_url = '<a href="'.DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$this->id.'">'.$obj->nom.'</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->nom_url = '<a href="'.DOL_URL_ROOT.'/soc.php?socid='.$this->id.'">'.$obj->nom.'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
$this->lignes = array();
|
||||
|
|
|
|||
Loading…
Reference in a new issue