Suppression infos inutiles
This commit is contained in:
parent
910fd20b44
commit
acdda9a07c
@ -41,6 +41,12 @@ if ($_GET["id"])
|
|||||||
$ligne = new LigneTel($db);
|
$ligne = new LigneTel($db);
|
||||||
$result = $ligne->fetch_by_id($_GET["id"]);
|
$result = $ligne->fetch_by_id($_GET["id"]);
|
||||||
|
|
||||||
|
if ($result == 1)
|
||||||
|
{
|
||||||
|
$client_comm = new Societe($db);
|
||||||
|
$client_comm->fetch($ligne->client_comm_id, $user);
|
||||||
|
}
|
||||||
|
|
||||||
$soc = new Societe($db);
|
$soc = new Societe($db);
|
||||||
$result = $soc->fetch($ligne->client_comm_id, $user);
|
$result = $soc->fetch($ligne->client_comm_id, $user);
|
||||||
|
|
||||||
@ -142,8 +148,7 @@ if ($_GET["id"])
|
|||||||
print $client_comm->nom.'</a></td><td>'.$client_comm->code_client;
|
print $client_comm->nom.'</a></td><td>'.$client_comm->code_client;
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td width="20%">Numéro</td><td>'.dolibarr_print_phone($ligne->numero);
|
print '<tr><td width="20%">Numéro</td><td>'.dolibarr_print_phone($ligne->numero).'</td>';
|
||||||
print " ".$ligne->support.'</td>';
|
|
||||||
print '<td>Facturée : '.$ligne->facturable.'</td></tr>';
|
print '<td>Facturée : '.$ligne->facturable.'</td></tr>';
|
||||||
|
|
||||||
$client = new Societe($db, $ligne->client_id);
|
$client = new Societe($db, $ligne->client_id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user