fix prefix
This commit is contained in:
parent
9571dc0613
commit
dccd74b0ef
@ -132,7 +132,7 @@ if ($action == 'getProducts') {
|
||||
}
|
||||
$sql .= ' AND tosell = 1';
|
||||
if ($conf->global->TAKEPOS_PRODUCT_IN_STOCK == 1) {
|
||||
$sql .= ' AND reel > 0';
|
||||
$sql .= ' AND ps.reel > 0';
|
||||
$sql .= " AND fk_entrepot = ".((int) $conf->global->{'CASHDESK_ID_WAREHOUSE'.$_SESSION['takeposterminal']});
|
||||
}
|
||||
$sql .= natural_search(array('ref', 'label', 'barcode'), $term);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user