fix statistique not status
This commit is contained in:
parent
65d13d70f9
commit
b6ea2550bc
@ -3174,12 +3174,11 @@ class Bdd
|
|||||||
LEFT JOIN ".$this->tableprefix."devis as devis on facture.id_devis = devis.id
|
LEFT JOIN ".$this->tableprefix."devis as devis on facture.id_devis = devis.id
|
||||||
WHERE YEAR(facture.date_paiement) = ? AND
|
WHERE YEAR(facture.date_paiement) = ? AND
|
||||||
MONTH(facture.date_paiement) = ? AND
|
MONTH(facture.date_paiement) = ? AND
|
||||||
devis.id_client = ? AND
|
devis.id_client = ?
|
||||||
(devis.mentions = ? OR devis.mentions = ?)
|
|
||||||
ORDER BY facture.date_paiement ASC;";
|
ORDER BY facture.date_paiement ASC;";
|
||||||
$factureList = $this->execSQLNoJsonReturn(
|
$factureList = $this->execSQLNoJsonReturn(
|
||||||
$sql,
|
$sql,
|
||||||
[$currentYear,$monthValue,$clientId,DevisMentionConstant::FACTURED,DevisMentionConstant::FACTURED_FORMATTED]
|
[$currentYear,$monthValue,$clientId]
|
||||||
);
|
);
|
||||||
|
|
||||||
$factureDevisIds = [];
|
$factureDevisIds = [];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user