[Vtigercrm-commits] [vtiger-commits] r10451 - /vtigercrm/branches/5.0.3/include/fpdf/templates/body.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 16 02:09:28 EDT 2007


Author: saraj
Date: Fri Mar 16 00:09:21 2007
New Revision: 10451

Log:
fix for Quote - Decimals for taxes are out of the table, amount history. Fixes #3209 --Minnie

Modified:
    vtigercrm/branches/5.0.3/include/fpdf/templates/body.php

Modified: vtigercrm/branches/5.0.3/include/fpdf/templates/body.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/fpdf/templates/body.php (original)
+++ vtigercrm/branches/5.0.3/include/fpdf/templates/body.php Fri Mar 16 00:09:21 2007
@@ -124,10 +124,15 @@
 
 	$lineData=array("105",$bottom+49,"94");
 	$pdf->drawLine($lineData);
-	$data= $app_strings['LBL_TAX'].":  ($group_total_tax_percent %)                                                                  ".$price_salestax."";
+	$data= $app_strings['LBL_TAX'].":  ($group_total_tax_percent %)";//                                                                  ".$price_salestax."";
 	$pdf->SetXY( 105 , ($nettotal_y+(2*$next_y)) );
 	$pdf->SetFont( "Helvetica", "", 10);
 	$pdf->MultiCell(110, 4, $data);
+
+	//Added for value field alignment
+	$pdf->SetXY( $space[strlen($price_salestax)] , ($nettotal_y+(2*$next_y)) );
+	$pdf->SetFont( "Helvetica", "", 10);
+	$pdf->MultiCell(110, 4, $price_salestax);
 
 	$lineData=array("105",$bottom+55,"94");
 	$pdf->drawLine($lineData);





More information about the vtigercrm-commits mailing list