diff --git a/htdocs/compta/clients.php b/htdocs/compta/clients.php
index b8388b8fa7b..d7f0c396857 100644
--- a/htdocs/compta/clients.php
+++ b/htdocs/compta/clients.php
@@ -22,10 +22,10 @@
*/
/**
- \file htdocs/compta/clients.php
- \ingroup compta
- \brief Page accueil des clients
- \version $Revision$
+ \file htdocs/compta/clients.php
+ \ingroup compta
+ \brief Page accueil des clients
+ \version $Revision$
*/
require("./pre.inc.php");
@@ -236,6 +236,7 @@ if ($result)
print_liste_field_titre($langs->trans("Town"),"clients.php","s.ville","","",'valign="center"',$sortfield);
print_liste_field_titre($langs->trans("AccountancyCode"),"clients.php","s.code_compta","","",'align="left"',$sortfield);
print_liste_field_titre($langs->trans("CustomerCode"),"clients.php","s.code_client","","",'align="left"',$sortfield);
+ print_liste_field_titre($langs->trans("DateCreation"),"clients.php","datec",$addu,"",'align="center"',$sortfield);
print '
| ';
print "\n";
@@ -256,7 +257,7 @@ if ($result)
print '';
print '';
- print '';
+ print ' | ';
print '';
print ' | ';
print "\n";
@@ -277,6 +278,7 @@ if ($result)
print ''.$obj->ville.' | ';
print ''.$obj->code_compta.' | ';
print ''.$obj->code_client.' | ';
+ print ''.dolibarr_print_date($obj->datec).' | ';
print '';
if (defined("MAIN_MODULE_DOSSIER") && MAIN_MODULE_DOSSIER == 1)
{
diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php
index 43c8316c335..3e6263da1b6 100644
--- a/htdocs/compta/fiche.php
+++ b/htdocs/compta/fiche.php
@@ -256,6 +256,7 @@ if ($socid > 0)
// Nbre max d'éléments des petites listes
$MAXLIST=5;
+ $tableaushown=0;
/*
* Dernieres factures
@@ -277,6 +278,7 @@ if ($socid > 0)
$i = 0;
if ($num > 0)
{
+ $tableaushown=1;
print ' | ';
print ' | ';
print '
';
@@ -331,6 +333,7 @@ if ($socid > 0)
$num = $db->num_rows();
if ($num > 0)
{
+ $tableaushown=1;
print '';
print ' | ';
print '
';
@@ -355,7 +358,7 @@ if ($socid > 0)
}
// Lien recap
- print '
';
+ if ($tableaushown) print '
';
print '