diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 374f21b7..a59dea22 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -512,7 +512,7 @@ function showOrdini() if ($order->Descrizione) $str .= getvalstr("Descr", $order->Descrizione); - $str .= 'ELIMINA!' . $sep; + $str .= ' ELIMINA!' . $sep; // $str .= getarraystr($product) . "
"; // $str .= $product; @@ -529,7 +529,6 @@ function showOrdiniWeb() { $str = ""; - try { // $str = Schema::getColumnListing('Orderdetails'); @@ -563,7 +562,7 @@ function showOrdiniWeb() if ($order->Descrizione) $str .= getvalstr("Descr", $order->Descrizione); - $str .= 'ELIMINA!' . $sep; + // $str .= ' ELIMINA!' . $sep; // $str .= getarraystr($product) . "
"; // $str .= $product; @@ -693,10 +692,21 @@ function showDettOrdini() //$str .= getvalstr("Totale", $order->Totale); $str .= getvalstr("IdInternet", $order->IdInternet, true) . " "; $str .= getvalstr("", $order->CodClienteInternet, true); + $str .= getvalstr("IdSito", $order->IdSito, true); $str .= '
'; } - $str .= "Ordini T_WEB_TestateOrdini:" . PHP_EOL . '
'; + } catch (\Exception $e) { + return "Errore showDettOrdini: " . $e->getMessage(); + } + + return $str; +} + +function showDettOrdiniWeb() +{ + try { + $str = "Ordini T_WEB_TestateOrdini:" . PHP_EOL . '
'; $orders = AppOrderWeb::all(); @@ -708,6 +718,7 @@ function showDettOrdini() //$str .= getvalstr("Totale", $order->Totale); $str .= getvalstr("IdInternet", $order->IdInternet, true) . " "; $str .= getvalstr("", $order->CodClienteInternet, true); + $str .= getvalstr("IdSito", $order->IdSito, true); $str .= '
'; } } catch (\Exception $e) { diff --git a/resources/views/mylinkspao.blade.php b/resources/views/mylinkspao.blade.php index 80865a6b..26468925 100644 --- a/resources/views/mylinkspao.blade.php +++ b/resources/views/mylinkspao.blade.php @@ -56,6 +56,7 @@ +