dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] bug propal azur


From: Christophe
Subject: Re: [Dolibarr-dev] bug propal azur
Date: Sat, 20 Aug 2005 20:47:17 -0400

Le samedi 20 août 2005 à 20:30 -0400, Christophe a écrit :
> Une erreur s'est manifestement glissée dans la nouvelle propal azur.

Et une autre ici :

--- 
/var/www/dolibarrcvs/htdocs/includes/modules/propale/pdf_propale_azur.modules.php
   2005-08-20 20:10:23.000000000 -0400
+++ 
/var/www/dolibarr/htdocs/includes/modules/propale/pdf_propale_azur.modules.php  
    2005-08-20 20:44:58.000000000 -0400
@@ -224,9 +224,9 @@

                     // Collecte des totaux par valeur de tva
                     // dans le tableau tva["taux"]=total_tva
-                                       $tvaligne=
$fac->lignes[$i]->price * $fac->lignes[$i]->qty;
-                                       if ($fac->remise_percent)
$tvaligne-=($tvaligne*$fac->remise_percent)/100;
-
$this->tva[ (string)$fac->lignes[$i]->tva_taux ] += $tvaligne;
+                                       $tvaligne=
$prop->lignes[$i]->price * $prop->lignes[$i]->qty;
+                                       if ($prop->remise_percent)
$tvaligne-=($tvaligne*$prop->remise_percent)/100;
+
$this->tva[ (string)$prop->lignes[$i]->tva_tx ] += $tvaligne;

                     if ($nexY > 200 && $i < $nblignes - 1)
                     {


-- 
Christophe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]