Hi,<br><br>Files which are use to generate a PDF:<br>&nbsp;&nbsp; For invoices -&gt; vtigercrm\modules\Invoice\CreatePDF.php&nbsp; // Retrieving Data and assembling parts of PDF<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtigercrm\modules\Invoice\pdf_templates&nbsp;&nbsp;&nbsp; // Parts of PDF (Header, Footer, and last page)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtigercrm\include\fpdf\templates&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 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: &nbsp;&nbsp;&nbsp; include(&quot;include/fpdf/templates/body_inv.php&quot;);)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtigercrm\include\fpdf\pdf.php&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 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 &#39;C&#39; (I know it&#39;s logic...) so for exemple to center the values in column &#39;Total&#39; change &nbsp;&nbsp;&nbsp; $colsAlign[&quot;Total&quot;] = &quot;R&quot;; to &nbsp;&nbsp;&nbsp; $colsAlign[&quot;Total&quot;] = &quot;C&quot;;
<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> &lt;<a href="mailto:tzenk@gmx.net">tzenk@gmx.net</a>&gt; 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&amp; 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>&gt; Dear Team,<br>&gt;<br>&gt; This was an issue which is occured due to a file overwrite. we have<br>&gt; corrected this and updated in svn on Friday itself.<br>&gt; Please look into the following changeset
<br>&gt; <a href="http://vtiger.fosslabs.com/cgi-bin/trac.cgi/changeset/10029">http://vtiger.fosslabs.com/cgi-bin/trac.cgi/changeset/10029</a><br>&gt;<br>&gt; if we put the latest include/fpdf/templates/body.php then we will not
<br>&gt; face this issue.<br>&gt; After place this latest file if you need to change the alignment then<br>&gt; please let us know.<br>&gt;<br>&gt; Thanks &amp; Regards<br>&gt; Mickie<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; -----On Sun, 07 Jan 2007 *Torsten Zenk * wrote ----
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Hi again,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; going on from the invoice using the Export To PDF<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; document.DetailView.return_module.value=&amp;cmInvoice&amp;cm;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; document.DetailView.return_action.value=&amp;cmDetailView&amp;cm
;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; document.DetailView.module.value=&amp;cmInvoice&amp;cm;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; document.DetailView.action.value=&amp;cmCreatePDF&amp;cm;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; document.DetailView.record.value=&amp;cm164&amp;cm;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; document.DetailView.return_id.value=&amp;cm164&amp;cm
;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; document.DetailView.submit();&gt; button i get an pdf invoice looking<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; much<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; better than the output in v5.02 but still there are two things that<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; donīt get formatted in the right way. i have made a screenshot you
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; can<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; see here:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <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>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Maybe some one could tell me where to change the formatting for the
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; invoices then i would try to fix this?<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Cheers<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Torsten Zenk<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">
http://jobs.vtiger.com</a><br>&gt;<br>_______________________________________________<br>Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">http://jobs.vtiger.com</a><br></blockquote></div><br>