Hi,<br><br>Files which are use to generate a PDF:<br> For invoices -> vtigercrm\modules\Invoice\CreatePDF.php // Retrieving Data and assembling parts of PDF<br> vtigercrm\modules\Invoice\pdf_templates // Parts of PDF (Header, Footer, and last page)
<br> vtigercrm\include\fpdf\templates // Body part of invoice, sale order (If you want a different body for invoice and sale order, duplicate body.php, and change the call from CreatePDF ex: include("include/fpdf/templates/body_inv.php");)
<br> vtigercrm\include\fpdf\pdf.php // This file contains all the functions about Layout in the PDF (If you want to change Font size, style, color and many other things,it is here but be careful, never delete only duplicate and comment).
<br><br>To delete Terms and Description in your 1st page, simply go to vtigercrm\modules\Invoice\pdf_templates\footer.php and comment the description and terms blocks.<br><br>A small tip for the end that I have been searching for some times:
<br>Alignement in the middle for the product list in the body is the letter 'C' (I know it's logic...) so for exemple to center the values in column 'Total' change $colsAlign["Total"] = "R"; to $colsAlign["Total"] = "C";
<br><br>I hope it helps,<br>Regards,<br>Clem<br><br><br><div><span class="gmail_quote">On 1/14/07, <b class="gmail_sendername">Torsten Zenk</b> <<a href="mailto:tzenk@gmx.net">tzenk@gmx.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi ,<br>the issue shown in <a href="http://www.itpk.de/1.jpg">http://www.itpk.de/1.jpg</a> is still there. As there<br>still overlay the Productname, Qty, Price, Discount , Tax and Total on<br>page 1 of an invoice I have tried to delete the Description and the
<br>Terms& Conditionsboxes from page 1 (they are okay on page 2 as they<br>donīt overlay anything there) but didnīt succed. Could some one give me<br>a hint where to do so?<br><br>The issue shown in <a href="http://www.itpk.de/2.jpg">
http://www.itpk.de/2.jpg</a> looks okay now, so there is<br>only this overlay issue left (and a few formatting issues, but i will<br>work that out myself i hope and then post the changes i made.<br><br>Greeting<br>Torsten
<br><br><br>Mickie schrieb:<br>> Dear Team,<br>><br>> This was an issue which is occured due to a file overwrite. we have<br>> corrected this and updated in svn on Friday itself.<br>> Please look into the following changeset
<br>> <a href="http://vtiger.fosslabs.com/cgi-bin/trac.cgi/changeset/10029">http://vtiger.fosslabs.com/cgi-bin/trac.cgi/changeset/10029</a><br>><br>> if we put the latest include/fpdf/templates/body.php then we will not
<br>> face this issue.<br>> After place this latest file if you need to change the alignment then<br>> please let us know.<br>><br>> Thanks & Regards<br>> Mickie<br>><br>><br>><br>><br>> -----On Sun, 07 Jan 2007 *Torsten Zenk * wrote ----
<br>><br>> Hi again,<br>> going on from the invoice using the Export To PDF<br>> document.DetailView.return_module.value=&cmInvoice&cm;<br>> document.DetailView.return_action.value=&cmDetailView&cm
;<br>> document.DetailView.module.value=&cmInvoice&cm;<br>> document.DetailView.action.value=&cmCreatePDF&cm;<br>> document.DetailView.record.value=&cm164&cm;<br>> document.DetailView.return_id.value=&cm164&cm
;<br>> document.DetailView.submit();> button i get an pdf invoice looking<br>> much<br>> better than the output in v5.02 but still there are two things that<br>> donīt get formatted in the right way. i have made a screenshot you
<br>> can<br>> see here:<br>> <a href="http://www.itpk.de/1.jpg">http://www.itpk.de/1.jpg</a> and <a href="http://www.itpk.de/2.jpg">http://www.itpk.de/2.jpg</a><br>><br>> Maybe some one could tell me where to change the formatting for the
<br>> invoices then i would try to fix this?<br>><br>> Cheers<br>> Torsten Zenk<br>> _______________________________________________<br>> Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">
http://jobs.vtiger.com</a><br>><br>_______________________________________________<br>Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">http://jobs.vtiger.com</a><br></blockquote></div><br>