diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php
index 06c49585..73ed1d27 100644
--- a/app/CustomFuncPao.php
+++ b/app/CustomFuncPao.php
@@ -687,12 +687,13 @@ function showDettOrdini()
// 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 .= getvalstr("CodCliente", $order->CodClienteInternet, true);
$str .= getvalstr("IdSito", $order->IdSito, true);
+ $str .= getvalstr("Note", $order->Note, true);
+ $str .= getvalstr("Totale", $order->Totale, true);
+ $str .= getvalstr("DataOra", $order->DataOra, true);
+ $str .= getvalstr("DataSpedizione", $order->DataSpedizione, true);
$str .= '
';
}
@@ -706,7 +707,7 @@ function showDettOrdini()
function showDettOrdiniWeb()
{
try {
-
+
$str = "Ordini T_WEB_TestateOrdini:" . PHP_EOL . '
';
$orders = AppOrderWeb::all();
@@ -714,12 +715,13 @@ function showDettOrdiniWeb()
// 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 .= getvalstr("CodCliente", $order->CodClienteInternet, true);
$str .= getvalstr("IdSito", $order->IdSito, true);
+ $str .= getvalstr("Note", $order->Note, true);
+ $str .= getvalstr("Totale", $order->Totale, true);
+ $str .= getvalstr("DataOra", $order->DataOra, true);
+ $str .= getvalstr("DataSpedizione", $order->DataSpedizione, true);
$str .= '
';
}
} catch (\Exception $e) {