Fix: bug #15359 overview: Lien invalide sur les propales
This commit is contained in:
parent
e0cbedd957
commit
6ae529e9b1
@ -133,9 +133,12 @@ if ($_GET["propalid"] > 0) {
|
|||||||
// ligne 1
|
// ligne 1
|
||||||
// partie Gauche
|
// partie Gauche
|
||||||
print '<tr><td>'.$langs->trans('Company').'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans('Company').'</td><td colspan="3">';
|
||||||
if ($societe->client == 1) {
|
if ($societe->client == 1)
|
||||||
$url ='fiche.php?socid='.$societe->id;
|
{
|
||||||
} else {
|
$url = DOL_URL_ROOT.'/comm/fiche.php?socid='.$societe->id;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
$url = DOL_URL_ROOT.'/comm/prospect/fiche.php?socid='.$societe->id;
|
$url = DOL_URL_ROOT.'/comm/prospect/fiche.php?socid='.$societe->id;
|
||||||
}
|
}
|
||||||
print '<a href="'.$url.'">'.$societe->nom.'</a></td>';
|
print '<a href="'.$url.'">'.$societe->nom.'</a></td>';
|
||||||
|
|||||||
@ -111,7 +111,7 @@ if ($_GET['propalid'])
|
|||||||
print '<tr><td>'.$langs->trans('Company').'</td><td>';
|
print '<tr><td>'.$langs->trans('Company').'</td><td>';
|
||||||
if ($societe->client == 1)
|
if ($societe->client == 1)
|
||||||
{
|
{
|
||||||
$url ='fiche.php?socid='.$societe->id;
|
$url = DOL_URL_ROOT.'/comm/fiche.php?socid='.$societe->id;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user