Task 5023: note de credit

This commit is contained in:
sparkyx 2006-04-23 20:06:21 +00:00
parent b80b5780fa
commit 634f1c5bb6
3 changed files with 5 additions and 7 deletions

View file

@ -176,7 +176,7 @@ function ComputeVat($p_cn, $p_fiche,$p_quant,$p_price,$p_vat )
if ( $tva_id == null ) return -1;
// for each fiche find the tva_rate and tva_id
$a_vat=GetTvaRate($p_cn,$tva_id);
$vat_amount=-1;
$vat_amount=null;
// Get the attribut price of the card(fiche)
if ( $a_vat != null and $a_vat['tva_id'] != "" )
{