Début intégration règle proposition tva par défaut
This commit is contained in:
parent
2ad207b6ac
commit
9dde8ae298
@ -1536,7 +1536,7 @@ else
|
|||||||
}
|
}
|
||||||
print '<textarea name="desc" cols="70" rows="'.ROWS_2.'">'.stripslashes($objp->description).'</textarea></td>';
|
print '<textarea name="desc" cols="70" rows="'.ROWS_2.'">'.stripslashes($objp->description).'</textarea></td>';
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
if($soc->tva_assuj == "0")
|
if(! $soc->tva_assuj)
|
||||||
print '<input type="hidden" name="tva_tx" value="0">0';
|
print '<input type="hidden" name="tva_tx" value="0">0';
|
||||||
else
|
else
|
||||||
print $html->select_tva('tva_tx',$objp->tva_taux,$mysoc,$soc);
|
print $html->select_tva('tva_tx',$objp->tva_taux,$mysoc,$soc);
|
||||||
|
|||||||
@ -1494,11 +1494,11 @@ function set_price_level($price_level, $user)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* \brief Renvoi si pays appartient à CEE
|
* \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()
|
function isInEEC()
|
||||||
{
|
{
|
||||||
// \todo liste pays à compléter
|
// \todo liste code pays à compléter
|
||||||
$country_code_in_EEC=array('BE','FR','LU');
|
$country_code_in_EEC=array('BE','FR','LU');
|
||||||
//print "dd".$this->pays_code;
|
//print "dd".$this->pays_code;
|
||||||
return in_array($this->pays_code,$country_code_in_EEC);
|
return in_array($this->pays_code,$country_code_in_EEC);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user