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