aa
This commit is contained in:
@@ -20,6 +20,9 @@ use App\Services\ProductLogger;
|
||||
use Codexshaper\WooCommerce\Facades\Order;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
use Illuminate\Support\Facades\Request;
|
||||
|
||||
|
||||
define('QTA_IN_PREVENDITA', 10000);
|
||||
define('QTA_MINIMA_PER_PREVENDITA', 9000);
|
||||
|
||||
@@ -484,6 +487,8 @@ function showOrdini()
|
||||
|
||||
$sep = "";
|
||||
|
||||
$baseUrl = Request::root(); // URL di base (dominio)
|
||||
|
||||
// Show the fields of the orders
|
||||
foreach ($orders as $order) {
|
||||
$product = Product::where('sku', $order->CodArticoloGM)->first();
|
||||
@@ -505,7 +510,7 @@ function showOrdini()
|
||||
if ($order->Descrizione)
|
||||
$str .= getvalstr("Descr", $order->Descrizione);
|
||||
|
||||
// $str .= '<a href="' . url('apimacro/public/setordine/') . $order->IdInternet . '/del/" target="_blank">ELIMINA!</a>' . $sep;
|
||||
$str .= '<a href="' . $baseUrl . 'apimacro/public/setordine/' . $order->IdInternet . '/del/" target="_blank">ELIMINA!</a>' . $sep;
|
||||
|
||||
// $str .= getarraystr($product) . "<br>";
|
||||
// $str .= $product;
|
||||
|
||||
Reference in New Issue
Block a user