diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php
index 59f82cac..4f5d8499 100644
--- a/app/CustomFuncPao.php
+++ b/app/CustomFuncPao.php
@@ -18,6 +18,7 @@ use Illuminate\Support\Facades\DB;
use App\Orderdetail;
use App\Services\ProductLogger;
use App\Order as AppOrder;
+use App\OrderWeb as AppOrderWeb;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\Request;
@@ -630,7 +631,22 @@ function showDettOrdini()
$str = "Ordini Woocommerce:" . PHP_EOL . '
';
try {
- $orders = Order::all();
+ $orders = AppOrder::all();
+
+ // Show the fields of the orders
+ foreach ($orders as $order) {
+ $str .= "Ordine: ";
+ $str .= getvalstr("Id", $order->id);
+ //$str .= getvalstr("DataOra", $order->DataOra);
+ //$str .= getvalstr("Totale", $order->Totale);
+ $str .= getvalstr("IdInternet", $order->IdInternet, true) . " ";
+ $str .= getvalstr("", $order->CodClienteInternet, true);
+ $str .= '
';
+ }
+
+ $str .= "Ordini T_WEB_TestateOrdini:" . PHP_EOL . '
';
+
+ $orders = AppOrderWeb::all();
// Show the fields of the orders
foreach ($orders as $order) {
diff --git a/app/OrderWeb.php b/app/OrderWeb.php
new file mode 100644
index 00000000..a565e9f2
--- /dev/null
+++ b/app/OrderWeb.php
@@ -0,0 +1,15 @@
+