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



_______________________________________________
Dolibarr-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à