From 39a5c120b84358ec7eb87eb8523cf3326ddda6e8 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Tue, 21 May 2024 01:13:05 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index f2f7f30d..0e3f4b14 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -215,13 +215,14 @@ function loadArticleByIdArticle($id, $checkprevendita = false) return false; } - $ris = dd($articles); - + $ris = 'Articles:'; + $ris .= var_export($articles, true); // Converti $articles in una stringa + $product = Product::where('sku', $id)->first(); - + $ris .= 'Product:'; - $ris .= dd($product); - + $ris .= var_export($product, true); // Converti $product in una stringa + return $ris; } catch (\Exception $e) {