Fix minore
This commit is contained in:
parent
bee09d6be5
commit
de6634bf96
|
@ -604,7 +604,7 @@ class Validator
|
|||
// Operazioni di normalizzazione
|
||||
// Formattazione decimali
|
||||
if ($info['type'] == 'decimal') {
|
||||
if (in_array($key, ['PrezzoUnitario'])) {
|
||||
if (in_array($key, ['PrezzoUnitario', 'Importo'])) {
|
||||
$output = number_format($output, 6, '.', '');
|
||||
} elseif (in_array($key, ['Quantita'])) {
|
||||
// Se i decimali per la quantità sono < 2 li imposto a 2 che è il minimo per lo standard della fatturazione elettronica
|
||||
|
|
Loading…
Reference in New Issue