mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Stile del codice
This commit is contained in:
@@ -592,8 +592,7 @@ class Validator
|
||||
if ($info['type'] == 'decimal') {
|
||||
if (in_array($key, ['PrezzoUnitario', 'PrezzoTotale'])) {
|
||||
$output = number_format($output, setting('Cifre decimali per importi'), '.', '');
|
||||
}
|
||||
else if (in_array($key, ['Quantita'])) {
|
||||
} elseif (in_array($key, ['Quantita'])) {
|
||||
$output = number_format($output, setting('Cifre decimali per quantità'), '.', '');
|
||||
} else {
|
||||
$output = number_format($output, 2, '.', '');
|
||||
|
Reference in New Issue
Block a user