From 04c956ce13f20365600808da971f1a18fc8b10bf Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 9 Dec 2004 09:43:36 +0000 Subject: [PATCH] =?UTF-8?q?Par=20d=E9faut=20ordonne=20les=20factures=20par?= =?UTF-8?q?=20ordre=20d=E9croissant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/client.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/client.class.php b/htdocs/client.class.php index 89f22d1f197..05382e38619 100644 --- a/htdocs/client.class.php +++ b/htdocs/client.class.php @@ -58,6 +58,7 @@ class Client extends Societe { $sql = "SELECT rowid, facnumber"; $sql .= " FROM ".MAIN_DB_PREFIX."facture as f"; $sql .= " WHERE f.fk_soc = ".$this->id; + $sql .= " ORDER BY datef DESC"; $result = $this->db->query($sql) ; $i = 0;