dolibarr-dev
[Top][All Lists]
Advanced

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

[Dolibarr-dev] bug propal azur


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

Une erreur s'est manifestement glissée dans la nouvelle propal azur.
Le correctif serait peut-être :

--- 
/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:27:03.000000000 -0400
@@ -449,11 +449,13 @@
         if (! $atleastoneratenotnull)
         {
             $index++;
-        $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * $index);
-        $pdf->MultiCell($col2x-$col1x, $tab2_hl,
$langs->trans("TotalVAT"), 0, 'L', 1);
+
+            $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * $index);
+            $pdf->MultiCell($col2x-$col1x, $tab2_hl,
$langs->trans("TotalVAT"), 0, 'L', 1);

-        $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * $index);
-        $pdf->MultiCell(26, $tab2_hl, price($prop->total_tva), 0, 'R',
1);
+            $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * $index);
+            $pdf->MultiCell(26, $tab2_hl, price($prop->total_tva), 0,
'R', 1);
+        }

         $useborder=0;

@@ -463,7 +465,7 @@
         $pdf->SetFont('Arial','B', 9);
         $pdf->MultiCell($col2x-$col1x, $tab2_hl,
$langs->trans("TotalTTC"), $useborder, 'L', 1);

-        $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * ($index+1));
+        $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * $index +1);
         $pdf->MultiCell(26, $tab2_hl, price($prop->total_ttc),
$useborder, 'R', 1);
         $pdf->SetFont('Arial','', 9);
         $pdf->SetTextColor(0,0,0);

-- 
Christophe





reply via email to

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