Ordonner les comptes par numéro de de compte (code) (suite)

FossilOrigin-Name: 63651995eec639f980551006d15a12603a9ed15dbe34b7fbc5fee370b57d4c79
This commit is contained in:
engel 2023-01-09 15:49:20 +00:00
parent fe2dc2ea49
commit 080460d724

View File

@ -108,7 +108,8 @@ class Utils
AND AND
acc_accounts.%s 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"', '"%Y"',
$annee, $annee,
@ -173,7 +174,7 @@ class Utils
AND AND
acc_accounts.%s acc_accounts.%s
) )
ORDER by %s, acc_accounts.id, acc_transactions.date', ORDER by %s, acc_accounts.code, acc_transactions.date',
'"%Y"', '"%Y"',
$annee, $annee,
$db->where('code', $op, $comptes), $db->where('code', $op, $comptes),
@ -225,7 +226,7 @@ class Utils
AND AND
acc_accounts.%s 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"', '"%Y"',
$annee, $annee,
$db->where('id', 'in', $tarifs), $db->where('id', 'in', $tarifs),
@ -272,7 +273,7 @@ class Utils
acc_accounts.%s acc_accounts.%s
) )
ORDER by %s, acc_accounts.id, acc_transactions.date ORDER by %s, acc_accounts.code, acc_transactions.date
', ',
'"%Y"', '"%Y"',
$annee, $annee,