From ebbce33327c3d6a299b65187e4d7df8a632a4bd9 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 26 Jun 2018 17:33:15 +0200 Subject: [PATCH] Fix per creazione ddt da ordine --- modules/ddt/actions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ddt/actions.php b/modules/ddt/actions.php index 833faa74f..8cfc8ccc9 100644 --- a/modules/ddt/actions.php +++ b/modules/ddt/actions.php @@ -240,12 +240,12 @@ switch (post('op')) { $um = post('um')[$idriga]; $abilita_serial = post('abilita_serial')[$idriga]; - $subtot = Translator::numberToLocale($post['subtot'][$idriga]) * $qta; - $sconto = Translator::numberToLocale($post['sconto'][$idriga]); + $subtot = $post['subtot'][$idriga] * $qta; + $sconto = $post['sconto'][$idriga]; $sconto = $sconto * $qta; $idiva = post('idiva')[$idriga]; - $iva = Translator::numberToLocale($post['iva'][$idriga]) * $qta; + $iva = $post['iva'][$idriga] * $qta; $qprc = 'SELECT tipo_sconto, sconto_unitario FROM or_righe_ordini WHERE id='.prepare($idriga); $rsprc = $dbo->fetchArray($qprc);