Modif lien pour gérer le click_to dial
This commit is contained in:
parent
c79abf2f3e
commit
becba9b2e7
@ -273,10 +273,18 @@ if ($socid > 0)
|
|||||||
print "</td>";
|
print "</td>";
|
||||||
print "<td>$obj->poste </td>";
|
print "<td>$obj->poste </td>";
|
||||||
|
|
||||||
print '<td><a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&actionid=1&contactid='.$obj->idp.'&socid='.$societe->id.'">';
|
print '<td>';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Lien click to dial
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (strlen($obj->phone))
|
||||||
|
{
|
||||||
|
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&actionid=1&contactid='.$obj->idp.'&socid='.$societe->id.'&call='.$obj->phone.'">';
|
||||||
print img_phone_out("Appel émis") ;
|
print img_phone_out("Appel émis") ;
|
||||||
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&actionid=1&contactid='.$obj->idp.'&socid='.$societe->id.'">';
|
}
|
||||||
print img_phone_in("Appel reçu") .'</a></td>';
|
print '</td>';
|
||||||
|
|
||||||
print '<td><a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&actionid=1&contactid='.$obj->idp.'&socid='.$societe->id.'">';
|
print '<td><a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&actionid=1&contactid='.$obj->idp.'&socid='.$societe->id.'">';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user