aa
This commit is contained in:
@@ -254,11 +254,13 @@ function showOrdini()
|
|||||||
// Show the fields of the orders
|
// Show the fields of the orders
|
||||||
foreach ($orders as $order) {
|
foreach ($orders as $order) {
|
||||||
$str .= getvalstr("", $order->Codice);
|
$str .= getvalstr("", $order->Codice);
|
||||||
$str .= getvalstr("CodGM", $order->CodArticoloGM);
|
$str .= getvalstr("IdInternet", $order->IdInternet, true);
|
||||||
|
$str .= getvalstr("", $order->CodArticoloGM, true);
|
||||||
$str .= getvalstr("Qta", $order->Qta);
|
$str .= getvalstr("Qta", $order->Qta);
|
||||||
$str .= getvalstr("", $order->DataOra);
|
$str .= getvalstr("", $order->DataOra);
|
||||||
$str .= getvalstr("Prezzo", $order->PrezzoLordo);
|
$str .= getvalstr("Prezzo", $order->PrezzoLordo);
|
||||||
$str .= getvalstr("Descr:", $order->Descrizione);
|
$str .= getvalstr("Sconto", $order->PercSconto);
|
||||||
|
$str .= getvalstr("Descr", $order->Descrizione);
|
||||||
$str .= '<br>';
|
$str .= '<br>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1860,8 +1860,19 @@ Route::get('/autori_test', function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function getvalstr($mystr, $value) {
|
function getvalstr($mystr, $value, $separato = false) {
|
||||||
return " " . $mystr . ": " . $value;
|
$my = '';
|
||||||
|
if ($mystr) {
|
||||||
|
$my = " " . $mystr . ": " . $value;
|
||||||
|
} else {
|
||||||
|
$my = $value;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($separato) {
|
||||||
|
$my = '[' + $my + '] ';
|
||||||
|
}
|
||||||
|
|
||||||
|
return $my;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user