Fix: Missing deposits
This commit is contained in:
parent
3de10b9d00
commit
c50c4da39c
@ -184,7 +184,7 @@ $sql.= ",".MAIN_DB_PREFIX."facture as f";
|
||||
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."paiement_facture as pf ON f.rowid=pf.fk_facture ";
|
||||
$sql.= " WHERE f.fk_soc = s.rowid";
|
||||
$sql.= " AND s.entity = ".$conf->entity;
|
||||
$sql.= " AND f.type in (0,1) AND f.fk_statut = 1";
|
||||
$sql.= " AND f.type in (0,1,3) AND f.fk_statut = 1";
|
||||
$sql.= " AND f.paye = 0";
|
||||
if ($option == 'late')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user