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