aa
This commit is contained in:
@@ -238,13 +238,10 @@ function loadArticleByIdArticle($id, $checkprevendita = false)
|
|||||||
|
|
||||||
function showOrdini()
|
function showOrdini()
|
||||||
{
|
{
|
||||||
$str = "Ordine: aaa";
|
$str = "Ordini";
|
||||||
return $str;
|
|
||||||
|
|
||||||
/*
|
|
||||||
$orders = Order::orderBy('DataOra', 'desc')->take(5)->get();
|
|
||||||
|
|
||||||
$str = "";
|
$orders = Order::orderBy('DataOra', 'desc')->take(2)->get();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
@@ -252,14 +249,14 @@ function showOrdini()
|
|||||||
foreach ($orders as $order) {
|
foreach ($orders as $order) {
|
||||||
$str .= "Ordine: ";
|
$str .= "Ordine: ";
|
||||||
$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();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $str;*/
|
return $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
function libriInPrevendita()
|
function libriInPrevendita()
|
||||||
|
|||||||
Reference in New Issue
Block a user