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