';
print '| '.$langs->trans("LastPropals", ($num<=$MAXLIST?"":$MAXLIST)).' | '.$langs->trans("AllPropals").' '.$num.' | ';
@@ -779,7 +779,7 @@ if ($object->id > 0)
$db->free($resql2);
print '';
- print ' ';
+ print '';
print '';
print '| '.$langs->trans("LastCustomerOrders", ($num<=$MAXLIST?"":$MAXLIST)).' | '.$langs->trans("AllOrders").' '.$num.' | ';
@@ -855,7 +855,7 @@ if ($object->id > 0)
$num = $db->num_rows($resql);
if ($num > 0) {
print '';
- print ' ';
+ print '';
print '';
print '| '.$langs->trans("LastSendings", ($num<=$MAXLIST?"":$MAXLIST)).' | '.$langs->trans("AllSendings").' '.$num.' | ';
@@ -919,7 +919,7 @@ if ($object->id > 0)
if ($num >0)
{
print '';
- print ' ';
+ print '';
print '';
print '| '.$langs->trans("LastContracts", ($num<=$MAXLIST?"":$MAXLIST)).' | ';
@@ -989,7 +989,7 @@ if ($object->id > 0)
if ($num > 0)
{
print '';
- print ' ';
+ print '';
print '';
print '| '.$langs->trans("LastInterventions", ($num<=$MAXLIST?"":$MAXLIST)).' | '.$langs->trans("AllInterventions").' '.$num.' | ';
@@ -1062,7 +1062,7 @@ if ($object->id > 0)
if ($num > 0)
{
print '';
- print ' ';
+ print '';
print '';
print '| '.$langs->trans("LatestCustomerTemplateInvoices", ($num<=$MAXLIST?"":$MAXLIST)).' | '.$langs->trans("AllCustomerTemplateInvoices").' '.$num.' | ';
@@ -1167,7 +1167,7 @@ if ($object->id > 0)
if ($num > 0)
{
print '';
- print ' ';
+ print '';
print '';
print '| '.$langs->trans("LastCustomersBills", ($num<=$MAXLIST?"":$MAXLIST)).' | '.$langs->trans("AllBills").' '.$num.' | ';
diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php
index a3ca781cd94..67c3f0f9630 100644
--- a/htdocs/core/class/commonobject.class.php
+++ b/htdocs/core/class/commonobject.class.php
@@ -6382,7 +6382,7 @@ abstract class CommonObject
* @param array $params Optional parameters. Example: array('style'=>'class="oddeven"', 'colspan'=>$colspan)
* @param string $keysuffix Suffix string to add after name and id of field (can be used to avoid duplicate names)
* @param string $keyprefix Prefix string to add before name and id of field (can be used to avoid duplicate names)
- * @param string $onetrtd All fields in same tr td
+ * @param string $onetrtd All fields in same tr td (TODO field not used ?)
* @return string
*/
public function showOptionals($extrafields, $mode = 'view', $params = null, $keysuffix = '', $keyprefix = '', $onetrtd = 0)
@@ -6494,10 +6494,7 @@ abstract class CommonObject
$out .= '
|
|
|
|
|
|
|