Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
Conflicts: htdocs/contrat/list.php
This commit is contained in:
commit
aaf9aef5c8
@ -958,9 +958,7 @@ if ($resql)
|
|||||||
$nbofsalesrepresentative=count($listsalesrepresentatives);
|
$nbofsalesrepresentative=count($listsalesrepresentatives);
|
||||||
if ($nbofsalesrepresentative > 3) // We print only number
|
if ($nbofsalesrepresentative > 3) // We print only number
|
||||||
{
|
{
|
||||||
print '<a href="'.DOL_URL_ROOT.'/societe/commerciaux.php?socid='.$companystatic->id.'">';
|
|
||||||
print $nbofsalesrepresentative;
|
print $nbofsalesrepresentative;
|
||||||
print '</a>';
|
|
||||||
}
|
}
|
||||||
elseif ($nbofsalesrepresentative > 0)
|
elseif ($nbofsalesrepresentative > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -707,11 +707,9 @@ while ($i < min($num, $limit))
|
|||||||
$listsalesrepresentatives=$socstatic->getSalesRepresentatives($user);
|
$listsalesrepresentatives=$socstatic->getSalesRepresentatives($user);
|
||||||
if ($listsalesrepresentatives < 0) dol_print_error($db);
|
if ($listsalesrepresentatives < 0) dol_print_error($db);
|
||||||
$nbofsalesrepresentative=count($listsalesrepresentatives);
|
$nbofsalesrepresentative=count($listsalesrepresentatives);
|
||||||
if ($nbofsalesrepresentative > 3) {
|
if ($nbofsalesrepresentative > 3) // We print only number
|
||||||
// We print only number
|
{
|
||||||
print '<a href="'.DOL_URL_ROOT.'/societe/commerciaux.php?socid='.$socstatic->id.'">';
|
|
||||||
print $nbofsalesrepresentative;
|
print $nbofsalesrepresentative;
|
||||||
print '</a>';
|
|
||||||
}
|
}
|
||||||
elseif ($nbofsalesrepresentative > 0)
|
elseif ($nbofsalesrepresentative > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -755,9 +755,7 @@ while ($i < min($num, $limit))
|
|||||||
$nbofsalesrepresentative=count($listsalesrepresentatives);
|
$nbofsalesrepresentative=count($listsalesrepresentatives);
|
||||||
if ($nbofsalesrepresentative > 3) // We print only number
|
if ($nbofsalesrepresentative > 3) // We print only number
|
||||||
{
|
{
|
||||||
print '<a href="'.DOL_URL_ROOT.'/societe/commerciaux.php?socid='.$socstatic->id.'">';
|
|
||||||
print $nbofsalesrepresentative;
|
print $nbofsalesrepresentative;
|
||||||
print '</a>';
|
|
||||||
}
|
}
|
||||||
elseif ($nbofsalesrepresentative > 0)
|
elseif ($nbofsalesrepresentative > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -306,9 +306,7 @@ abstract class ActionsCardCommon
|
|||||||
$nbofsalesrepresentative=count($listsalesrepresentatives);
|
$nbofsalesrepresentative=count($listsalesrepresentatives);
|
||||||
if ($nbofsalesrepresentative > 3) // We print only number
|
if ($nbofsalesrepresentative > 3) // We print only number
|
||||||
{
|
{
|
||||||
$this->tpl['sales_representatives'].= '<a href="'.DOL_URL_ROOT.'/societe/commerciaux.php?socid='.$this->object->id.'">';
|
|
||||||
$this->tpl['sales_representatives'].= $nbofsalesrepresentative;
|
$this->tpl['sales_representatives'].= $nbofsalesrepresentative;
|
||||||
$this->tpl['sales_representatives'].= '</a>';
|
|
||||||
}
|
}
|
||||||
elseif ($nbofsalesrepresentative > 0)
|
elseif ($nbofsalesrepresentative > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user