Update list.php
FIX copy-paste error (sell versus buy)
This commit is contained in:
parent
5e1dbdc608
commit
4b0638dd40
@ -311,7 +311,7 @@ else
|
|||||||
if ($fourn_id > 0) $sql.= " AND pfp.fk_soc = ".$fourn_id;
|
if ($fourn_id > 0) $sql.= " AND pfp.fk_soc = ".$fourn_id;
|
||||||
if ($search_tobatch != '' && $search_tobatch >= 0) $sql.= " AND p.tobatch = ".$db->escape($search_tobatch);
|
if ($search_tobatch != '' && $search_tobatch >= 0) $sql.= " AND p.tobatch = ".$db->escape($search_tobatch);
|
||||||
if ($search_accountancy_code_sell) $sql.= natural_search('p.accountancy_code_sell', $search_accountancy_code_sell);
|
if ($search_accountancy_code_sell) $sql.= natural_search('p.accountancy_code_sell', $search_accountancy_code_sell);
|
||||||
if ($search_accountancy_code_sell) $sql.= natural_search('p.accountancy_code_buy', $search_accountancy_code_buy);
|
if ($search_accountancy_code_buy) $sql.= natural_search('p.accountancy_code_buy', $search_accountancy_code_buy);
|
||||||
// Add where from extra fields
|
// Add where from extra fields
|
||||||
|
|
||||||
if (!empty($conf->variants->enabled) && $search_hidechildproducts && ($search_type === 0)) {
|
if (!empty($conf->variants->enabled) && $search_hidechildproducts && ($search_type === 0)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user