diff --git a/htdocs/compta/sociales/index.php b/htdocs/compta/sociales/index.php
index 485b872a94f..7e6b3356a4f 100644
--- a/htdocs/compta/sociales/index.php
+++ b/htdocs/compta/sociales/index.php
@@ -21,7 +21,7 @@
/**
* \file htdocs/compta/sociales/index.php
* \ingroup tax
- * \brief Ecran des charges sociales
+ * \brief Page to list all social contributions
* \version $Id$
*/
@@ -130,83 +130,96 @@ if ($resql)
print $mesg."
";
}
- print '
| '; + print ' | '; + // Type + print ' | '; + $html->select_type_socialcontrib($typeid,'typeid',1,16,0); + print ' | '; + // Period end date + print ''; + print ' | '; + print ' | '; + print ' | '; + print ''; + print ' | '; + print "
| '; + $chargesociale_static->id=$obj->id; + $chargesociale_static->lib=$obj->id; + $chargesociale_static->ref=$obj->id; + print $chargesociale_static->getNomUrl(1,'20'); + print ' | '; + + // Label + print ''.dol_trunc($obj->libelle,42).' | '; + + // Type + print ''.dol_trunc($obj->type_lib,16).' | '; + + // Date end period + print ''; + if ($obj->periode) + { + print 'jdate($obj->periode)).'">'.dol_print_date($db->jdate($obj->periode),'day').''; + } + else + { + print ' '; + } + print ' | '; + + print ''.price($obj->amount).' | '; + + // Due date + print ''.dol_print_date($db->jdate($obj->de), 'day').' | '; + + print ''.$chargesociale_static->LibStatut($obj->paye,5).' | '; + + print '