From 080460d72492cfaf2e5867c708bf28cd9d635860 Mon Sep 17 00:00:00 2001 From: engel <> Date: Mon, 9 Jan 2023 15:49:20 +0000 Subject: [PATCH] =?UTF-8?q?Ordonner=20les=20comptes=20par=20num=C3=A9ro=20?= =?UTF-8?q?de=20de=20compte=20(code)=20(suite)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: 63651995eec639f980551006d15a12603a9ed15dbe34b7fbc5fee370b57d4c79 --- lib/Utils.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/Utils.php b/lib/Utils.php index a6221e7..5d6bae6 100644 --- a/lib/Utils.php +++ b/lib/Utils.php @@ -108,7 +108,8 @@ class Utils AND acc_accounts.%s ) - GROUP BY services_fees.id,acc_accounts.id + GROUP BY services_fees.id, acc_accounts.code + ORDER BY acc_accounts.code ', '"%Y"', $annee, @@ -173,7 +174,7 @@ class Utils AND acc_accounts.%s ) - ORDER by %s, acc_accounts.id, acc_transactions.date', + ORDER by %s, acc_accounts.code, acc_transactions.date', '"%Y"', $annee, $db->where('code', $op, $comptes), @@ -225,7 +226,7 @@ class Utils AND acc_accounts.%s ) - ORDER by services_fees.id, %s, acc_accounts.id, acc_transactions.date', + ORDER by services_fees.id, %s, acc_accounts.code, acc_transactions.date', '"%Y"', $annee, $db->where('id', 'in', $tarifs), @@ -272,7 +273,7 @@ class Utils acc_accounts.%s ) - ORDER by %s, acc_accounts.id, acc_transactions.date + ORDER by %s, acc_accounts.code, acc_transactions.date ', '"%Y"', $annee,