|
|
@@ -45,7 +45,7 @@ class WaybillService
|
|
|
/** @var Builder $query */
|
|
|
$query->whereIn("waybills.owner_id",$ownerIds)->orWhereHas("order",function ($query)use($ownerIds){
|
|
|
/** @var Builder $query */
|
|
|
- $query->whereIn("owner",$ownerIds);
|
|
|
+ $query->whereIn("owner_id",$ownerIds);
|
|
|
});
|
|
|
});
|
|
|
unset($param["owner"]);
|