mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
Ajout ordre de tri
This commit is contained in:
@@ -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 "<TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||
print '<TR class="liste_titre">';
|
||||
print "<TD>R<>f</TD>";
|
||||
print "<TD>Soci<63>t<EFBFBD></td>";
|
||||
print '<td align="right" colspan="2">Date</td>';
|
||||
print '<td align="right">Prix</td>';
|
||||
print '<td align="center">Statut</td>';
|
||||
print_liste_field_titre_new ("R<EFBFBD>f",$PHP_SELF,"p.ref","","&year=$year",'',$sortfield);
|
||||
print_liste_field_titre_new ("Soci<EFBFBD>t<EFBFBD>",$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 "</tr>\n";
|
||||
|
||||
while ($i < $num)
|
||||
|
||||
Reference in New Issue
Block a user