aa
This commit is contained in:
@@ -300,6 +300,7 @@ function showDettOrdini()
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// $orders = Order::orderBy('DataOra', 'desc')->take(2)->get();
|
// $orders = Order::orderBy('DataOra', 'desc')->take(2)->get();
|
||||||
|
/*
|
||||||
$orders = Order::take(2)->get();
|
$orders = Order::take(2)->get();
|
||||||
|
|
||||||
// Show the fields of the orders
|
// Show the fields of the orders
|
||||||
@@ -308,7 +309,7 @@ function showDettOrdini()
|
|||||||
$str .= getvalstr("Id", $order->id);
|
$str .= getvalstr("Id", $order->id);
|
||||||
//$str .= getvalstr("DataOra", $order->DataOra);
|
//$str .= getvalstr("DataOra", $order->DataOra);
|
||||||
//$str .= getvalstr("Totale", $order->Totale);
|
//$str .= getvalstr("Totale", $order->Totale);
|
||||||
}
|
}*/
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
return "Errore: " . $e->getMessage();
|
return "Errore: " . $e->getMessage();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user