diff --git a/htdocs/compta/propal.php3 b/htdocs/compta/propal.php3 index a1147405ee0..705fe433cbc 100644 --- a/htdocs/compta/propal.php3 +++ b/htdocs/compta/propal.php3 @@ -330,11 +330,9 @@ if ($propalid) */ } else { /* - * * * Mode Liste des propales * - * */ if ($sortfield == "") @@ -383,7 +381,7 @@ if ($propalid) } $sql .= " ORDER BY $sortfield $sortorder "; - $sql .= $db->plimit( $limit ,$offset); + $sql .= $db->plimit($limit ,$offset); if ( $db->query($sql) ) { @@ -391,11 +389,11 @@ if ($propalid) $i = 0; print "
| Réf | "; - print "Société | "; - print 'Date | '; - print 'Prix | '; - print 'Statut | '; + print_liste_field_titre_new ("Réf",$PHP_SELF,"p.ref","","&year=$year",'',$sortfield); + print_liste_field_titre_new ("Société",$PHP_SELF,"s.nom","","",'',$sortfield); + print_liste_field_titre_new ("Date",$PHP_SELF,"p.datep","","",'align="right" colspan="2"',$sortfield); + print_liste_field_titre_new ("Prix",$PHP_SELF,"p.price","","",'align="right"',$sortfield); + print_liste_field_titre_new ("Statut",$PHP_SELF,"p.fk_statut","","",'align="center"',$sortfield); print "|