From 7a42514833f9770b11972861a001fea6a8967f8e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 30 Aug 2012 21:14:30 +0200 Subject: [PATCH] Fix: bug for default vat definition --- htdocs/core/tpl/freeproductline_create.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/tpl/freeproductline_create.tpl.php b/htdocs/core/tpl/freeproductline_create.tpl.php index 18f76aa105d..46b69404ef9 100644 --- a/htdocs/core/tpl/freeproductline_create.tpl.php +++ b/htdocs/core/tpl/freeproductline_create.tpl.php @@ -63,7 +63,7 @@ tva_assuj == "0") echo '0'; + if ($seller->tva_assuj == "0") echo '0'; else echo $form->load_tva('np_tva_tx', (isset($_POST["np_tva_tx"])?$_POST["np_tva_tx"]:-1), $seller, $buyer); ?>