Correction erreur écriture en double (http://localhost:8080/tktview/ae62f4cde5)
FossilOrigin-Name: ada31d7d5a3cc60b40e4bada4afd0eab57ca48eb4bac4b4d5f34fda5f8feca6e
This commit is contained in:
parent
8e19aaf526
commit
e75c56b736
3 changed files with 14 additions and 14 deletions
|
|
@ -63,13 +63,12 @@ class Utils
|
|||
INNER JOIN acc_accounts
|
||||
ON acc_transactions_lines.id_account = acc_accounts.id
|
||||
WHERE
|
||||
(strftime(%s, acc_transactions.date) = "%d"
|
||||
(strftime("%%Y", acc_transactions.date) = "%d"
|
||||
AND
|
||||
acc_accounts.%s
|
||||
)
|
||||
GROUP by acc_accounts.code
|
||||
ORDER by acc_accounts.code',
|
||||
'"%Y"',
|
||||
$annee,
|
||||
$db->where('code', $op, $comptes)
|
||||
);
|
||||
|
|
@ -104,14 +103,13 @@ class Utils
|
|||
INNER JOIN acc_accounts
|
||||
ON acc_transactions_lines.id_account = acc_accounts.id
|
||||
WHERE
|
||||
(strftime(%s, acc_transactions.date) = "%d"
|
||||
(strftime("%%Y", acc_transactions.date) = "%d"
|
||||
AND
|
||||
acc_accounts.%s
|
||||
)
|
||||
GROUP BY services_fees.id, acc_accounts.code
|
||||
ORDER BY acc_accounts.code
|
||||
',
|
||||
'"%Y"',
|
||||
$annee,
|
||||
$db->where('code', $op, $comptes)
|
||||
);
|
||||
|
|
@ -170,12 +168,12 @@ class Utils
|
|||
INNER JOIN acc_accounts
|
||||
ON acc_transactions_lines.id_account = acc_accounts.id
|
||||
WHERE
|
||||
(strftime(%s, acc_transactions.date) = "%d"
|
||||
(strftime("%%Y", acc_transactions.date) = "%d"
|
||||
AND
|
||||
acc_accounts.%s
|
||||
)
|
||||
GROUP BY acc_transactions.id, acc_accounts.id
|
||||
ORDER by %s, acc_accounts.code, acc_transactions.date',
|
||||
'"%Y"',
|
||||
$annee,
|
||||
$db->where('code', $op, $comptes),
|
||||
$tri
|
||||
|
|
@ -225,7 +223,8 @@ class Utils
|
|||
AND
|
||||
%s
|
||||
)
|
||||
ORDER by services_fees.id, %s, acc_accounts.code, acc_transactions.date',
|
||||
GROUP BY acc_transactions.id, acc_accounts.id
|
||||
ORDER by %s, acc_accounts.code, acc_transactions.date',
|
||||
$annee,
|
||||
$condition,
|
||||
$tri
|
||||
|
|
@ -265,14 +264,13 @@ class Utils
|
|||
INNER JOIN acc_accounts
|
||||
ON acc_transactions_lines.id_account = acc_accounts.id
|
||||
WHERE
|
||||
(strftime(%s, acc_transactions.date) = "%d"
|
||||
(strftime("%%Y", acc_transactions.date) = "%d"
|
||||
AND
|
||||
acc_accounts.%s
|
||||
)
|
||||
|
||||
GROUP BY acc_transactions.id, acc_accounts.id
|
||||
ORDER by %s, acc_accounts.code, acc_transactions.date
|
||||
',
|
||||
'"%Y"',
|
||||
$annee,
|
||||
$db->where('id', 'in', $comptesIsoles),
|
||||
$tri
|
||||
|
|
@ -308,7 +306,7 @@ class Utils
|
|||
INNER JOIN acc_transactions_lines
|
||||
ON acc_transactions_lines.id_transaction = acc_transactions.id
|
||||
WHERE (
|
||||
strftime(%s, acc_transactions.date) = "%d"
|
||||
strftime("%%Y", acc_transactions.date) = "%d"
|
||||
AND
|
||||
acc_transactions_users.id_transaction = acc_transactions.id
|
||||
AND
|
||||
|
|
@ -319,7 +317,6 @@ class Utils
|
|||
',
|
||||
$tri,
|
||||
$nom,
|
||||
'"%Y"',
|
||||
$annee
|
||||
);
|
||||
$donateurs = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue