aa
This commit is contained in:
@@ -682,7 +682,8 @@ function showDettOrdini()
|
|||||||
$str = "Ordini Woocommerce:" . PHP_EOL . '<br>';
|
$str = "Ordini Woocommerce:" . PHP_EOL . '<br>';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$orders = AppOrder::all();
|
// sort DataOra desc
|
||||||
|
$orders = AppOrder::all()->sortByDesc('DataOra');
|
||||||
|
|
||||||
// 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