aa
This commit is contained in:
@@ -244,14 +244,14 @@ function showOrdini()
|
||||
|
||||
try {
|
||||
|
||||
$orders = Orderdetail::orderBy('id', 'desc')
|
||||
$orders = Orderdetail::orderBy('Codice', 'desc')
|
||||
->take(2)
|
||||
->get();
|
||||
|
||||
// Show the fields of the orders
|
||||
foreach ($orders as $order) {
|
||||
$str .= "Ordine: ";
|
||||
$str .= getvalstr("Id", $order->id);
|
||||
$str .= getvalstr("Codice", $order->Codice);
|
||||
//$str .= getvalstr("DataOra", $order->DataOra);
|
||||
//$str .= getvalstr("Totale", $order->Totale);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user