aa
This commit is contained in:
@@ -257,7 +257,6 @@ function loadArticleByIdArticle($sku, $checkprevendita = true)
|
||||
$join->on('T_WEB_Articoli.IdArticolo', '=', 'q.Codice')
|
||||
->where('T_WEB_Articoli.IdArticolo', $sku);
|
||||
})
|
||||
->where('T_WEB_Articoli.IdArticolo', $sku)
|
||||
->get();
|
||||
|
||||
if ($articles && $checkprevendita) {
|
||||
@@ -270,8 +269,7 @@ function loadArticleByIdArticle($sku, $checkprevendita = true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $articles;
|
||||
return dd($articles);
|
||||
} catch (\Exception $e) {
|
||||
// log exception
|
||||
error_log($e->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user