Fix: restore broken features

This commit is contained in:
Regis Houssin 2012-08-30 21:37:37 +02:00
parent c322f2d3b1
commit e84f57e62c

View File

@ -146,7 +146,7 @@ if (! empty($conf->margin->enabled)) {
<td align="right">
<?php
if ($buyer->tva_assuj == "0") echo '<input type="hidden" name="tva_tx" value="0">0';
if ($seller->tva_assuj == "0") echo '<input type="hidden" name="tva_tx" value="0">0';
else echo $form->load_tva('tva_tx', (GETPOST('tva_tx')?GETPOST('tva_tx'):-1), $seller, $buyer);
?>
<input type="hidden" id="origin_tva_tx_cache" name="origin_tva_tx_cache" value="" />