Masam Posted October 6, 2009 Share Posted October 6, 2009 Hello EveryoneOnce order was completed it generated the PDF - Invoice, It shows at last 1) TOTAL PRODUCT (tax excl.) = 1.232) TOTAL PRODUCTS (tax incl.) = 1.353) SHIPPING4) Total with TAXBasically my question is want to remove tax included or excluded. How can I do that ....anyone please. UrgentThanks Masam Link to comment Share on other sites More sharing options...
TropischBruin Posted October 6, 2009 Share Posted October 6, 2009 Why is it "urgent"? Link to comment Share on other sites More sharing options...
Masam Posted October 6, 2009 Author Share Posted October 6, 2009 Because its generated TAX included or excluded and I need to change the heading for that... Link to comment Share on other sites More sharing options...
fs_xyz Posted October 7, 2009 Share Posted October 7, 2009 Go to your pdf.php in directory classes.Open it.Search for these lines.$pdf->Cell($width, 0, self::l('Total products (tax excl.)').' : ', 0, 0, 'R');$totalProductsTe = self::$order->getTotalProductsWithoutTaxes((self::$orderSlip ? self::$order->products : false));$pdf->Cell(0, 0, self::convertSign(Tools::displayPrice($totalProductsTe, self::$currency, true, false)), 0, 0, 'R');$pdf->Ln(4);$pdf->SetFont(self::fontname(), 'B', 8);$width = 165;$pdf->Cell($width, 0, self::l('Total products (tax incl.)').' : ', 0, 0, 'R');$totalProductsTi = self::$order->getTotalProductsWithTaxes((self::$orderSlip ? self::$order->products : false));$pdf->Cell(0, 0, self::convertSign(Tools::displayPrice($totalProductsTi, self::$currency, true, false)), 0, 0, 'R');$pdf->Ln(4);Just add " // " like these ://$pdf->Cell($width, 0, self::l('Total products (tax excl.)').' : ', 0, 0, 'R');//$pdf->Cell(0, 0, self::convertSign(Tools::displayPrice($totalProductsTe, self::$currency, true, false)), 0, 0, 'R');//$pdf->Ln(4);//$pdf->Cell($width, 0, self::l('Total products (tax incl.)').' : ', 0, 0, 'R');//$pdf->Cell(0, 0, self::convertSign(Tools::displayPrice($totalProductsTi, self::$currency, true, false)), 0, 0, 'R');//$pdf->Ln(4); Link to comment Share on other sites More sharing options...
Masam Posted October 7, 2009 Author Share Posted October 7, 2009 Hello fs_xyzThanks so much. Fab work. Superb. Masam Link to comment Share on other sites More sharing options...
Recommended Posts