Finish mzl_dev
This commit is contained in:
@@ -24,7 +24,7 @@ class PurchaseOrdersLogic
|
||||
public function getPiList()
|
||||
{
|
||||
return (new StockOrders())->where('pi_no', '!=', '')
|
||||
->select('pi_no')
|
||||
->select('pi_no', 'salesperson_snapshot')
|
||||
->distinct()
|
||||
->get();
|
||||
}
|
||||
@@ -35,6 +35,7 @@ class PurchaseOrdersLogic
|
||||
public function getOrderNoListByPiNo($piNo)
|
||||
{
|
||||
return (new StockOrders())->where('pi_no', $piNo)
|
||||
->where('approval_status', 2)
|
||||
->select('order_no', 'biz_date', 'salesperson_snapshot', 'id as stock_orders_id', 'salesperson_id')
|
||||
->get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user