diff --git a/htdocs/compta/sociales/index.php b/htdocs/compta/sociales/index.php
index 4f8fca43f72..89230e8053a 100644
--- a/htdocs/compta/sociales/index.php
+++ b/htdocs/compta/sociales/index.php
@@ -64,12 +64,8 @@ if ($_GET["action"] == 'del')
}
}
-if ($_GET["action"] == 'edit')
-{
- print "La modification est le paiement des charges n'est pas encore disponible.\nSeule leur saisie est possible, sans interaction avec le compte pour l'instant.\n";
-}
-
-
+$year=$_GET["year"];
+$filtre=$_GET["filtre"];
/*
* Affichage liste et formulaire des charges.
@@ -77,20 +73,36 @@ if ($_GET["action"] == 'edit')
print_titre("Charges sociales $year");
+print "
\n";
+
print "
| Echeance/Date | Période | '; -print_liste_field_titre("Libellé",$PHP_SELF,"c.libelle"); -print ' | Montant | Payé | '; +print ' | '; +print_liste_field_titre("Echéance/Date",$PHP_SELF,"de"); +print ' | '; +print_liste_field_titre("Période",$PHP_SELF,"periode"); +print ' | '; +print_liste_field_titre("Type",$PHP_SELF,"type"); +print ' | '; +print_liste_field_titre("Libellé",$PHP_SELF,"s.libelle"); +print ' | '; +print_liste_field_titre("Montant",$PHP_SELF,"s.amount"); +print ' | '; +print_liste_field_titre("Payé",$PHP_SELF,"s.paye"); +print ' | '; print " | |
| '.strftime("%d %b %y",$obj->de).' | '; @@ -112,16 +125,16 @@ if ( $db->query($sql) ) print ' '; } print ''; - print ''.$obj->nom.' | '.$obj->libelle.' | '; + print ''.$obj->type.' | '.$obj->libelle.' | '; print ''.price($obj->amount).' | '; if ($obj->paye) { - print ''.strftime("%d/%m/%y",$obj->dp).' | '; + print ''.strftime("%d/%m/%y",$obj->dp).' | '; print ''; } else { - print ' | Non | '; - print ''.img_edit().''; + print ' | Non | '; + print ''.img_edit().''; print ' '.img_delete().' | '; } print '|