Task 5023: note de credit
This commit is contained in:
parent
b80b5780fa
commit
634f1c5bb6
3 changed files with 5 additions and 7 deletions
|
|
@ -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'] != "" )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue