From f0e7a862b3239577c9dc204042ad9c25c9f286cf Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Tue, 21 May 2024 00:21:20 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 9e61f92d..d4cf60bb 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -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());