if (isset($criterio) && isset($data) && isset($bozza)) { ?>
| = __("Voce") ?> | = __("Unità di misura") ?> | = __("Tipo") ?> | = __("Quantita") ?> | = __("Offerta") ?> | = __("Totale voce") ?> |
|---|---|---|---|---|---|
| = $voce["descrizione"] ?> | = $voce["unita"] ?> | = ($voce["tipo"] == "corpo") ? __("A corpo") : __("A misura") ?> | style="text-align:center">= $voce["quantita"] ?> | if ($edit) { ?> ;0;0;N" data-voce="= $voce["codice"] ?>" onChange="aggiornaTotale(= $criterio["codice"] ?>,= $criterio["decimali"] ?>)" class="voce-= $criterio["codice"] ?> offer-input form-control text-center" title="= $voce["descrizione"] ?>" name="offerta[= $criterio["codice"] ?>.= $voce["codice"] ?>][value]" id="offerta-= $criterio["codice"] ?>.= $voce["codice"] ?>" value="= $value ?>"> } else { if (is_numeric($value)) { ?> = number_format($value, $criterio["decimali"], ",", ".") ?> } } if ($value > 0) { $unitario_arrotondato = number_format($value, $criterio["decimali"],".",""); $totaleVoce = $unitario_arrotondato * $voce["quantita"]; } else { $totaleVoce = 0; } $totaleElenco += $totaleVoce; ?> | style='text-align:right'> = number_format($totaleVoce, $criterio["decimali"], ",", ".") ?> |
| = __("Totale") ?> | > = number_format($totaleElenco, $criterio["decimali"], ",", ".") ?> | ||||