From 9dde8ae2984e940d0a6a9a5767ed335a67d43c0c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 16 Mar 2006 01:26:49 +0000 Subject: [PATCH] =?UTF-8?q?D=E9but=20int=E9gration=20r=E8gle=20proposition?= =?UTF-8?q?=20tva=20par=20d=E9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 2 +- htdocs/societe.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 613ed43f77d..e69d0b85c3f 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1536,7 +1536,7 @@ else } print ''; print ''; - if($soc->tva_assuj == "0") + if(! $soc->tva_assuj) print '0'; else print $html->select_tva('tva_tx',$objp->tva_taux,$mysoc,$soc); diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index cdbbdcc81de..9e9287a035c 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -1494,11 +1494,11 @@ function set_price_level($price_level, $user) /* * \brief Renvoi si pays appartient ŕ CEE - * \param boolean true = pays dans CEE, false, pays hors CEE + * \param boolean true = pays dans CEE, false= pays hors CEE */ function isInEEC() { - // \todo liste pays ŕ compléter + // \todo liste code pays ŕ compléter $country_code_in_EEC=array('BE','FR','LU'); //print "dd".$this->pays_code; return in_array($this->pays_code,$country_code_in_EEC);