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
|
||||
WHERE YEAR(facture.date_paiement) = ? AND
|
||||
MONTH(facture.date_paiement) = ? AND
|
||||
devis.id_client = ? AND
|
||||
(devis.mentions = ? OR devis.mentions = ?)
|
||||
devis.id_client = ?
|
||||
ORDER BY facture.date_paiement ASC;";
|
||||
$factureList = $this->execSQLNoJsonReturn(
|
||||
$sql,
|
||||
[$currentYear,$monthValue,$clientId,DevisMentionConstant::FACTURED,DevisMentionConstant::FACTURED_FORMATTED]
|
||||
[$currentYear,$monthValue,$clientId]
|
||||
);
|
||||
|
||||
$factureDevisIds = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user