Fix: Crazy change
This commit is contained in:
parent
edcf39cd58
commit
7501e09738
@ -295,45 +295,26 @@ if ($result)
|
|||||||
$thirdparty_static->datem=$db->jdate($objp->datem);
|
$thirdparty_static->datem=$db->jdate($objp->datem);
|
||||||
$thirdparty_static->status=$objp->status;
|
$thirdparty_static->status=$objp->status;
|
||||||
$thirdparty_static->canvas=$objp->canvas;
|
$thirdparty_static->canvas=$objp->canvas;
|
||||||
//print $thirdparty_static->getNomUrl(1);
|
print $thirdparty_static->getNomUrl(1);
|
||||||
//print "</td>\n";
|
print "</td>\n";
|
||||||
// Type
|
// Type
|
||||||
//print '<td align="center">';
|
print '<td align="center">';
|
||||||
if ($thirdparty_static->client==1 || $thirdparty_static->client==3)
|
if ($thirdparty_static->client==1 || $thirdparty_static->client==3)
|
||||||
{
|
{
|
||||||
print $thirdparty_static->getNomUrl(1, 'customer');
|
$thirdparty_static->name=$langs->trans("Customer");
|
||||||
print "</td>\n";
|
print $thirdparty_static->getNomUrl(0,'customer');
|
||||||
// Type
|
|
||||||
print '<td align="center">';
|
|
||||||
print $langs->trans("Customer");
|
|
||||||
}
|
|
||||||
if ($thirdparty_static->client == 3 && empty($conf->global->SOCIETE_DISABLE_PROSPECTS)) {
|
|
||||||
print $thirdparty_static->getNomUrl(1);
|
|
||||||
print "</td>\n";
|
|
||||||
// Type
|
|
||||||
print '<td align="center">';
|
|
||||||
print " / ";
|
|
||||||
}
|
}
|
||||||
|
if ($thirdparty_static->client == 3 && empty($conf->global->SOCIETE_DISABLE_PROSPECTS)) print " / ";
|
||||||
if (($thirdparty_static->client==2 || $thirdparty_static->client==3) && empty($conf->global->SOCIETE_DISABLE_PROSPECTS))
|
if (($thirdparty_static->client==2 || $thirdparty_static->client==3) && empty($conf->global->SOCIETE_DISABLE_PROSPECTS))
|
||||||
{
|
{
|
||||||
print $thirdparty_static->getNomUrl(1, 'prospect');
|
$thirdparty_static->name=$langs->trans("Prospect");
|
||||||
print "</td>\n";
|
print $thirdparty_static->getNomUrl(0,'prospect');
|
||||||
// Type
|
|
||||||
print '<td align="center">';
|
|
||||||
print $langs->trans("Prospect");
|
|
||||||
}
|
}
|
||||||
if (! empty($conf->fournisseur->enabled) && $thirdparty_static->fournisseur)
|
if (! empty($conf->fournisseur->enabled) && $thirdparty_static->fournisseur)
|
||||||
{
|
{
|
||||||
if (! $thirdparty_static->client) {
|
if ($thirdparty_static->client) print " / ";
|
||||||
print $thirdparty_static->getNomUrl(1, 'supplier');
|
$thirdparty_static->name=$langs->trans("Supplier");
|
||||||
print "</td>\n";
|
print $thirdparty_static->getNomUrl(0,'supplier');
|
||||||
print '<td align="center">';
|
|
||||||
print $langs->trans("Supplier");
|
|
||||||
} else {
|
|
||||||
// Type
|
|
||||||
print " / ";
|
|
||||||
print $langs->trans("Supplier");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
// Last modified date
|
// Last modified date
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user