Fix bug with misc ledger

This commit is contained in:
sparkyx 2007-05-29 19:56:10 +00:00
parent b0fa56ee27
commit 4eebad93e6
3 changed files with 7 additions and 6 deletions

View file

@ -209,7 +209,7 @@ function ComputeVat($p_cn, $p_fiche,$p_quant,$p_price,$p_vat )
$a=$a_vat['tva_id'];
$vat_amount=$p_price*$a_vat['tva_rate']*$p_quant;
}
echo_debug('user_common',__LINE__,'return '.round($vat_amount,2));
echo_debug('user_common',__LINE__,'return tva'.round($vat_amount,2));
return round($vat_amount,2);