add constaint on stock
This commit is contained in:
@@ -143,6 +143,9 @@ class Articles
|
||||
'product',
|
||||
'article_nature',
|
||||
'offers.variation.package',
|
||||
'offers.tariff.price_lists' => function($query) use ($sale_channel_id) {
|
||||
$query->bySaleChannel($sale_channel_id);
|
||||
},
|
||||
'offers.tariff.price_lists.price_list_values',
|
||||
])->get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user