Look: Limite longueur nom société sur liste contacts
This commit is contained in:
parent
f3f63c9480
commit
3171b06a76
@ -19,10 +19,8 @@
|
|||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
* $Source$
|
* $Source$
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/contact/index.php
|
\file htdocs/contact/index.php
|
||||||
\ingroup societe
|
\ingroup societe
|
||||||
@ -232,18 +230,17 @@ if ($result)
|
|||||||
print '<td valign="center">';
|
print '<td valign="center">';
|
||||||
print '<a href="'.DOL_URL_ROOT.'/contact/fiche.php?id='.$obj->cidp.'">';
|
print '<a href="'.DOL_URL_ROOT.'/contact/fiche.php?id='.$obj->cidp.'">';
|
||||||
print img_object($langs->trans("ShowContact"),"contact");
|
print img_object($langs->trans("ShowContact"),"contact");
|
||||||
print '</a> <a href="'.DOL_URL_ROOT.'/contact/fiche.php?id='.$obj->cidp.'">'.$obj->name.'</a></td>';
|
print ' '.$obj->name.'</a></td>';
|
||||||
print '<td>'.$obj->firstname.'</td>';
|
print '<td>'.$obj->firstname.'</td>';
|
||||||
print '<td><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$obj->idp.'">';
|
print '<td><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$obj->idp.'">';
|
||||||
print img_object($langs->trans("ShowCompany"),"company");
|
print img_object($langs->trans("ShowCompany"),"company").' '.dolibarr_trunc($obj->nom,44).'</a></td>';
|
||||||
print '</a> <a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$obj->idp.'">'.$obj->nom.'</a></td>';
|
|
||||||
print '<td><a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&actionid=1&contactid='.$obj->cidp.'&socid='.$obj->idp.'">'.dolibarr_print_phone($obj->phone).'</a> </td>';
|
print '<td><a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&actionid=1&contactid='.$obj->cidp.'&socid='.$obj->idp.'">'.dolibarr_print_phone($obj->phone).'</a> </td>';
|
||||||
|
|
||||||
if ($_GET["view"] == 'phone')
|
if ($_GET["view"] == 'phone')
|
||||||
{
|
{
|
||||||
print '<td>'.dolibarr_print_phone($obj->phone_mobile).' </td>';
|
print '<td>'.dolibarr_print_phone($obj->phone_mobile,$obj->fp_pays).' </td>';
|
||||||
|
|
||||||
print '<td colspan="2">'.dolibarr_print_phone($obj->fax).' </td>';
|
print '<td colspan="2">'.dolibarr_print_phone($obj->fax,$obj->fp_pays).' </td>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user