aa
This commit is contained in:
@@ -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 . '<br>';
|
||||
|
||||
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 .= '<br>';
|
||||
}
|
||||
|
||||
$str .= "Ordini T_WEB_TestateOrdini:" . PHP_EOL . '<br>';
|
||||
|
||||
$orders = AppOrderWeb::all();
|
||||
|
||||
// Show the fields of the orders
|
||||
foreach ($orders as $order) {
|
||||
|
||||
Reference in New Issue
Block a user