diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index 3a0caad822d..157954c570b 100644
--- a/htdocs/comm/fiche.php
+++ b/htdocs/comm/fiche.php
@@ -25,7 +25,7 @@
* \file htdocs/comm/fiche.php
* \ingroup commercial compta
* \brief Page to show customer card of a third party
- * \version $Id: fiche.php,v 1.284 2011/08/21 13:01:34 eldy Exp $
+ * \version $Id: fiche.php,v 1.285 2011/08/23 20:48:20 eldy Exp $
*/
require("../main.inc.php");
@@ -747,46 +747,6 @@ if ($socid > 0)
print "";
}
- /*
- * Last linked chronodocs
- */
- // TODO add function to add an external module
- if(!empty($conf->global->MAIN_MODULE_CHRONODOCS) && $user->rights->chronodocs->entries->read)
- {
- print '
';
- $chronodocs_static=new Chronodocs_entries($db);
- $result=$chronodocs_static->get_list($MAXLIST,0,"f.date_c","DESC",$objsoc->id);
- if (is_array($result))
- {
- $var=true;
- $i = 0 ;
- //$num = sizeOf($result);
- $num=$chronodocs_static->get_nb_chronodocs($objsoc->id);
-
- if ($num > 0)
- {
- print '';
- print ' | ';
- print '
';
- }
- while ($i < $num && $i < $MAXLIST)
- {
- $obj = array_shift($result);
- $var = !$var;
- print "";
- print '| '.img_object($langs->trans("ShowChronodocs"),"generic")." ".$obj->ref.' | ';
-
- print "".dol_trunc($obj->title,30) ." | ";
- print "".dol_print_date($db->jdate($obj->dp),'day')." | \n";
- print "
";
-
- $i++;
- }
- }
-
- print "
";
- }
-
print "";
print "";
@@ -891,5 +851,5 @@ else
$db->close();
-llxFooter('$Date: 2011/08/21 13:01:34 $ - $Revision: 1.284 $');
+llxFooter('$Date: 2011/08/23 20:48:20 $ - $Revision: 1.285 $');
?>