with(['ownerMaterials.material','customer'])->select(['id','name','customer_id'])->whereIn('id', app("OwnerService")->getQuery())->get(); } }