|
|
@@ -39,7 +39,7 @@ class RejectedService
|
|
|
->where(function ($query)use ($owners){
|
|
|
/** @var Builder $query */
|
|
|
$query->whereIn('rejected_bills.id_owner', $owners)
|
|
|
- ->orWhereIn("id_logistic_return",app("LogisticService")->getQuery());
|
|
|
+ ->orWhereIn("rejected_bills.id_logistic_return",app("LogisticService")->getQuery());
|
|
|
});
|
|
|
if (array_search("397",$owners)!==false){
|
|
|
$rejectedBills->with(["items.barcode.commodity"=>function($query){
|