vinyl68 Posted February 24, 2012 Share Posted February 24, 2012 hi, i have a problem concerning my invoice PDF. i am confused, because there is no "grand total" which includes the product's price AND the shipping price. my invoice is the following (or watch the screenshot) Product - 229,00 € ----- Total products (tax incl.) : 229,00 € Total shipping : 6,90 € Total (tax excl.) : 199,34 € ---- then one line with 5 columns Tax detail / Tax / Pre-Tax Total / Total Tax / Total with Tax Products / 19,000 % / 192,44 € / 36,56 € / 229,00 € but the grand total is missing - or am i blind. can i edit this somewheer in the backend or in the pdf.php, please have a look at the screenshot. thanks in advance for your suggestions Link to comment Share on other sites More sharing options...
phrasespot Posted February 28, 2012 Share Posted February 28, 2012 What is the version of PrestaShop? Did you make any modifications to invoice generation? Link to comment Share on other sites More sharing options...
vinyl68 Posted February 28, 2012 Author Share Posted February 28, 2012 hi phrasespot, the prestashop version is 1.3.7.0 i did not modify anything. in the PDF.php are some lines commented out, but i don't think it has to do with the problem. line 485 - 486 /* $pdf->Cell($width, 0, self::l('Total products (tax excl.)').' : ', 0, 0, 'R'); $pdf->Cell(0, 0, (self::$orderSlip ? '-' : '').self::convertSign(Tools::displayPrice($priceBreakDown['totalProductsWithoutTax'], self::$currency, true, false)), 0, 0, 'R');*/ line 537-538 /* $pdf->Cell($width, 0, self::l('Total').' '.(self::$_priceDisplayMethod == PS_TAX_EXC ? self::l(' (tax excl.)') : self::l(' (tax incl.)')).' : ', 0, 0, 'R'); $pdf->Cell(0, 0, (self::$orderSlip ? '-' : '').self::convertSign(Tools::displayPrice((self::$_priceDisplayMethod == PS_TAX_EXC ? $priceBreakDown['totalWithoutTax'] : $priceBreakDown['totalWithTax']), self::$currency, true, false)), 0, 0, 'R'); */ Link to comment Share on other sites More sharing options...
vinyl68 Posted February 28, 2012 Author Share Posted February 28, 2012 there should be a grand total on the invoice product 229,00 EUR + shipping 6,90 EUR = TOTAL 235,90 EUR - but this "total" is missing.. Link to comment Share on other sites More sharing options...
phrasespot Posted February 28, 2012 Share Posted February 28, 2012 I do not have these lines commented out on a fresh install of 1.3.7.0. Revert the PDF file to its default state and see if you continue having problems. Link to comment Share on other sites More sharing options...
vinyl68 Posted February 28, 2012 Author Share Posted February 28, 2012 phrasespot - that really was the problem. can't believe that i didn't try this. i uncommented the lines and the grand totals showed up. thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now