Skip to content

Commit

Permalink
Merge pull request #3035 from marcosgdf/bug-2786
Browse files Browse the repository at this point in the history
FIX #2786 Objectline_add template shows "0" for non-vat suppliers
  • Loading branch information
eldy committed Jun 14, 2015
2 parents f67af6d + ea62562 commit fdced80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/tpl/objectline_create.tpl.php
Expand Up @@ -184,7 +184,7 @@
<td align="right"><?php
if (GETPOST('prod_entry_mode') != 'predef')
{
if ($seller->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"> '.vatrate(0, true);
else echo $form->load_tva('tva_tx', (isset($_POST["tva_tx"])?$_POST["tva_tx"]:-1), $seller, $buyer);
}
?>
Expand Down

0 comments on commit fdced80

Please sign in to comment.