From 6f2ee60f4b81bc6a3c23981ef6e20800753383d8 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 13 Jun 2024 10:08:26 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index ee12bfe0..cf2e4dd3 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -253,7 +253,7 @@ function showOrdini() // Show the fields of the orders foreach ($orders as $order) { - $product = Product::where('sku', $order->CodArticoloGM)->pluck('name')->first(); + $product = Product::where('sku', $order->CodArticoloGM)->first(); $str .= getvalstr("", $order->Codice) . " "; $str .= getvalstr("", $order->DataOra); @@ -267,7 +267,7 @@ function showOrdini() $str .= getvalstr("Descr", $order->Descrizione); //$str .= $product; - $str .= $product; + // $str .= $product; $str .= '
'; }