Give order to inventory lines
This commit is contained in:
parent
570fc5c0ed
commit
8a1df1df92
@ -640,6 +640,7 @@ if ($object->id > 0) {
|
||||
$sql .= ' id.fk_product, id.batch, id.qty_stock, id.qty_view, id.qty_regulated';
|
||||
$sql .= ' FROM '.MAIN_DB_PREFIX.'inventorydet as id';
|
||||
$sql .= ' WHERE id.fk_inventory = '.((int) $object->id);
|
||||
$sql .= ' ORDER BY id.rowid';
|
||||
|
||||
$cacheOfProducts = array();
|
||||
$cacheOfWarehouses = array();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user