Look: Modifications mineures
This commit is contained in:
parent
ec869284e7
commit
c802c028d0
@ -571,7 +571,7 @@ else
|
|||||||
// Commerciaux
|
// Commerciaux
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
print '<table width="100%" class="noborder" cellpadding="0" cellspacing="0" border="0"><tr><td>';
|
print '<table width="100%" class="noborder" cellpadding="0" cellspacing="0" border="0"><tr><td>';
|
||||||
print $langs->trans('SalesRepresentative');
|
print $langs->trans('SalesRepresentatives');
|
||||||
print '<td><td align="right">';
|
print '<td><td align="right">';
|
||||||
print '<a href="'.DOL_URL_ROOT.'/societe/commerciaux.php?socid='.$soc->id.'">'.img_edit().'</a>';
|
print '<a href="'.DOL_URL_ROOT.'/societe/commerciaux.php?socid='.$soc->id.'">'.img_edit().'</a>';
|
||||||
print '</td></tr></table>';
|
print '</td></tr></table>';
|
||||||
@ -587,7 +587,7 @@ else
|
|||||||
{
|
{
|
||||||
$num = $db->num_rows($resql);
|
$num = $db->num_rows($resql);
|
||||||
$obj = $db->fetch_object($resql);
|
$obj = $db->fetch_object($resql);
|
||||||
print '<a href="'.DOL_URL_ROOT.'/societe/commerciaux.php?socid='.$soc->id.'">'.$obj->nb.'</a>';
|
print $obj->nb?($obj->nb):$langs->trans("NoSalesRepresentativeAffected");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
dolibarr_print_error($db);
|
dolibarr_print_error($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user