From 842c11660746875fac3602a1163e448e61e2bd5b Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Wed, 2 Mar 2005 19:39:18 +0000
Subject: [PATCH] =?UTF-8?q?Fix:=20ordre=20de=20la=20box=20factures=20impay?=
 =?UTF-8?q?=E9es.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 htdocs/includes/boxes/box_factures_imp.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/htdocs/includes/boxes/box_factures_imp.php b/htdocs/includes/boxes/box_factures_imp.php
index de95866e9dd..883370e3c8f 100644
--- a/htdocs/includes/boxes/box_factures_imp.php
+++ b/htdocs/includes/boxes/box_factures_imp.php
@@ -71,7 +71,8 @@ class box_factures_imp extends ModeleBoxes {
             {
                 $sql .= " AND s.idp = $user->societe_id";
             }
-            $sql .= " ORDER BY f.datef DESC, f.facnumber DESC ";
+            //$sql .= " ORDER BY f.datef DESC, f.facnumber DESC ";
+            $sql .= " ORDER BY f.datef ASC, f.facnumber ASC ";
             $sql .= $db->plimit($max, 0);
 
             $result = $db->query($sql);
-- 
GitLab