From eca85bce0c55a232f74dbeb730a061ccb64007cd Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 10 Jul 2003 12:36:26 +0000 Subject: [PATCH] Ajout ordre de tri --- htdocs/compta/propal.php3 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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 ""; print ''; - print ""; - print ""; - print ''; - print ''; - print ''; + 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 "\n"; while ($i < $num)
RéfSociétéDatePrixStatut