mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 12:30:35 +01:00
Fix calcolo totale documento durante passaggio da un documento a fattura (o altri docs)
This commit is contained in:
parent
fc8cc28f7a
commit
c71330cf1e
@ -143,9 +143,9 @@ if (!empty($righe)) {
|
|||||||
|
|
||||||
echo '
|
echo '
|
||||||
<td>
|
<td>
|
||||||
<input type="hidden" id="subtot_'.$i.'" name="subtot['.$r['id'].']" value="'.str_replace('.', ',', ($r['subtotale'] / $r['qta'])).'" />
|
<input type="hidden" id="subtot_'.$i.'" name="subtot['.$r['id'].']" value="'.$r['subtotale'] / $r['qta'].'" />
|
||||||
<input type="hidden" id="sconto_'.$i.'" name="sconto['.$r['id'].']" value="'.str_replace('.', ',', ($r['sconto'] / $r['qta'])).'" />
|
<input type="hidden" id="sconto_'.$i.'" name="sconto['.$r['id'].']" value="'.$r['sconto'] / $r['qta'].'" />
|
||||||
<input type="hidden" id="iva_'.$i.'" name="iva['.$r['id'].']" value="'.str_replace('.', ',', ($r['iva'] / $r['qta'])).'" />
|
<input type="hidden" id="iva_'.$i.'" name="iva['.$r['id'].']" value="'.$r['iva'] / $r['qta'].'" />
|
||||||
|
|
||||||
<big id="subtotale_'.$i.'">'.moneyFormat($subtotale - $sconto + $iva).'</big><br/>
|
<big id="subtotale_'.$i.'">'.moneyFormat($subtotale - $sconto + $iva).'</big><br/>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user