FIX : test for filter fk_status
This commit is contained in:
parent
356f36c5bf
commit
f04af6c1b3
@ -84,7 +84,7 @@ dol_mkdir($dir);
|
||||
$stats = new FactureStats($db, $socid, $mode, ($userid>0?$userid:0));
|
||||
if ($mode == 'customer')
|
||||
{
|
||||
if ($object_status != '' && $object_status >= -1) $stats->where .= ' AND f.fk_statut IN ('.$object_status.')';
|
||||
if ($object_status != '' && $object_status >= 0) $stats->where .= ' AND f.fk_statut IN ('.$object_status.')';
|
||||
}
|
||||
if ($mode == 'supplier')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user