diff --git a/htdocs/compta/sociales/index.php b/htdocs/compta/sociales/index.php index 7e6b3356a4f..5850e2a0a61 100644 --- a/htdocs/compta/sociales/index.php +++ b/htdocs/compta/sociales/index.php @@ -152,7 +152,7 @@ if ($resql) print_liste_field_titre($langs->trans("Type"),"index.php","type","",$param,'align="left"',$sortfield,$sortorder); print_liste_field_titre($langs->trans("PeriodEndDate"),"index.php","periode","",$param,'align="center"',$sortfield,$sortorder); print_liste_field_titre($langs->trans("Amount"),"index.php","s.amount","",$param,'align="right"',$sortfield,$sortorder); - print_liste_field_titre($langs->trans("DateDue"),"index.php","de","",$param,'align="center"',$sortfield,$sortorder); + print_liste_field_titre($langs->trans("DateDue"),"index.php","s.date_ech","",$param,'align="center"',$sortfield,$sortorder); print_liste_field_titre($langs->trans("Status"),"index.php","s.paye","",$param,'align="right"',$sortfield,$sortorder); print "\n"; @@ -208,7 +208,7 @@ if ($resql) print ''.price($obj->amount).''; // Due date - print ''.dol_print_date($db->jdate($obj->de), 'day').''; + print ''.dol_print_date($db->jdate($obj->date_ech), 'day').''; print ''.$chargesociale_static->LibStatut($obj->paye,5).'';