aa
This commit is contained in:
@@ -6,6 +6,7 @@ use App\Orderdetail;
|
||||
use Codexshaper\WooCommerce\Facades\Order;
|
||||
use Codexshaper\WooCommerce\Facades\Product;
|
||||
use Codexshaper\WooCommerce\Facades\Variation;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
function showarray($array)
|
||||
{
|
||||
@@ -244,7 +245,9 @@ function showOrdini()
|
||||
|
||||
try {
|
||||
|
||||
$orders = Orderdetail::orderBy('Codice', 'desc')
|
||||
$str = Schema::getColumnListing('orders');
|
||||
|
||||
/*$orders = Orderdetail::orderBy('Codice', 'desc')
|
||||
->take(10)
|
||||
->get();
|
||||
|
||||
@@ -256,7 +259,7 @@ function showOrdini()
|
||||
$str .= getvalstr("Totale", $order->Totale);
|
||||
$str .= '<br>';
|
||||
|
||||
}
|
||||
}*/
|
||||
} catch (\Exception $e) {
|
||||
return "Errore: " . $e->getMessage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user