aa
This commit is contained in:
@@ -296,10 +296,11 @@ function showOrdini()
|
|||||||
|
|
||||||
function showDettOrdini()
|
function showDettOrdini()
|
||||||
{
|
{
|
||||||
$str = "Ordini";
|
$str = "Ordini Woocommerce:" . PHP_EOL;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$orders = Order::orderBy('DataOra', 'desc')->take(2)->get();
|
// $orders = Order::orderBy('DataOra', 'desc')->take(2)->get();
|
||||||
|
$orders = Order::take(2)->get();
|
||||||
|
|
||||||
// Show the fields of the orders
|
// Show the fields of the orders
|
||||||
foreach ($orders as $order) {
|
foreach ($orders as $order) {
|
||||||
|
|||||||
Reference in New Issue
Block a user