Fix: bug #15359 overview: Lien invalide sur les propales

This commit is contained in:
Laurent Destailleur 2006-01-04 20:18:36 +00:00
parent e0cbedd957
commit 6ae529e9b1
2 changed files with 7 additions and 4 deletions

View File

@ -133,9 +133,12 @@ if ($_GET["propalid"] > 0) {
// ligne 1
// partie Gauche
print '<tr><td>'.$langs->trans('Company').'</td><td colspan="3">';
if ($societe->client == 1) {
$url ='fiche.php?socid='.$societe->id;
} else {
if ($societe->client == 1)
{
$url = DOL_URL_ROOT.'/comm/fiche.php?socid='.$societe->id;
}
else
{
$url = DOL_URL_ROOT.'/comm/prospect/fiche.php?socid='.$societe->id;
}
print '<a href="'.$url.'">'.$societe->nom.'</a></td>';

View File

@ -111,7 +111,7 @@ if ($_GET['propalid'])
print '<tr><td>'.$langs->trans('Company').'</td><td>';
if ($societe->client == 1)
{
$url ='fiche.php?socid='.$societe->id;
$url = DOL_URL_ROOT.'/comm/fiche.php?socid='.$societe->id;
}
else
{