Début ajout de la gestion des adresses de livraison
This commit is contained in:
parent
884367376e
commit
6ff8c7a9ac
@ -256,6 +256,19 @@ class Livraison
|
|||||||
$this->nom_societe = $obj->nom;
|
$this->nom_societe = $obj->nom;
|
||||||
$this->socid = $obj->idp;
|
$this->socid = $obj->idp;
|
||||||
$this->id = $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();
|
$this->lignes = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user