Fix minori modifica riga

This commit is contained in:
MatteoPistorello 2021-10-26 11:10:28 +02:00
parent 3d8c5d8929
commit f1f33eebfa
2 changed files with 2 additions and 3 deletions

View File

@ -53,8 +53,7 @@ if (empty($result['idarticolo'])) {
$qta_minima = $articolo['qta_minima'];
echo '
<p><strong>'.tr('Articolo').':</strong> '.$articolo['codice'].' - '.$articolo['descrizione'].'.</p>
<input type="hidden" name="idarticolo" id="idarticolo" value="'.$articolo['id'].'">
{[ "type": "select", "disabled":"1", "label": "'.tr('Articolo').'", "name": "idarticolo", "required": 1, "value": "'.$result['idarticolo'].'", "ajax-source": "articoli", "select-options": '.json_encode($options['select-options']['articoli']).', "icon-after": "add|'.Modules::get('Articoli')['id'].'" ]}
<script>
$(document).ready(function (){

View File

@ -107,7 +107,7 @@ if ($options['dir'] == 'entrata') {
<small>&nbsp;'.tr('Costo medio').':</small>\
</td>\
<td align=\"right\">\
<small>" + mediaponderata.toLocale() + "</small>\
<small>" + (mediaponderata!=0 ? mediaponderata.toLocale() : "- ") + "</small>\
</td>\
<td align=\"center\">\
<small>" + globals.currency + "</small>\