cost plan, add filter item_id > 0
This commit is contained in:
@@ -332,6 +332,7 @@ class Order extends CI_Controller{
|
||||
$where = [
|
||||
'status' => 1,
|
||||
'id not in (select o_id from lc_items_cost)' => null,
|
||||
'item_id>' => 0,
|
||||
'id>=' => Orders_v2_entity::V2_START_ID
|
||||
];
|
||||
$id && $where['id'] = $id;
|
||||
|
||||
Reference in New Issue
Block a user