diff --git a/htdocs/contrat/index.php b/htdocs/contrat/index.php
index 9d96ca7be5e..e08a33e78ba 100644
--- a/htdocs/contrat/index.php
+++ b/htdocs/contrat/index.php
@@ -85,12 +85,13 @@ if (! empty($conf->global->MAIN_SEARCH_FORM_ON_HOME_AREAS)) // This is usele
{
print '
\n";
print "
";
}
}
@@ -183,7 +184,7 @@ else
dol_print_error($db);
}
-
+print '';
print '
';
print '| '.$langs->trans("Statistics").' - '.$langs->trans("Services").' |
'."\n";
$listofstatus=array(0,4,4,5); $bool=false;
@@ -232,7 +233,7 @@ foreach($listofstatus as $status)
//if ($totalinprocess != $total)
//print '| '.$langs->trans("Total").' ('.$langs->trans("ServicesRunning").') | '.$totalinprocess.' |
';
print '| '.$langs->trans("Total").' | '.$total.' |
';
-print "
";
+print "
";
// Draft contracts
@@ -255,6 +256,7 @@ if (! empty($conf->contrat->enabled) && $user->rights->contrat->lire)
{
$num = $db->num_rows($resql);
+ print '';
print '
';
print '';
print '| '.$langs->trans("DraftContracts").($num?' '.$num.'':'').' |
';
@@ -290,7 +292,7 @@ if (! empty($conf->contrat->enabled) && $user->rights->contrat->lire)
{
print '| '.$langs->trans("NoContracts").' |
';
}
- print "
";
+ print "
";
$db->free($resql);
}
else
@@ -333,6 +335,7 @@ if ($result)
$num = $db->num_rows($result);
$i = 0;
+ print '';
print '
';
print '| '.$langs->trans("LastContracts", 5).' | ';
@@ -368,7 +371,7 @@ if ($result)
}
$db->free($result);
- print "
|---|
";
+ print "
";
}
else
{
@@ -400,6 +403,7 @@ if ($resql)
$num = $db->num_rows($resql);
$i = 0;
+ print '';
print '
';
print '| '.$langs->trans("LastModifiedServices", $max).' | ';
@@ -446,7 +450,7 @@ if ($resql)
}
$db->free();
- print "
|---|
";
+ print "
";
}
else
{
@@ -479,6 +483,7 @@ if ($resql)
$num = $db->num_rows($resql);
$i = 0;
+ print '';
print '
';
print '| '.$langs->trans("NotActivatedServices").' '.$num.' | ';
@@ -524,7 +529,7 @@ if ($resql)
}
$db->free();
- print "
|---|
";
+ print "
";
}
else
{
@@ -558,6 +563,7 @@ if ($resql)
$num = $db->num_rows($resql);
$i = 0;
+ print '';
print '
';
print '| '.$langs->trans("ListOfExpiredServices").' '.$num.' | ';
@@ -603,7 +609,7 @@ if ($resql)
}
$db->free();
- print "
|---|
";
+ print "
";
}
else
{