<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — How to customize the pdf reports?]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1688</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1688&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to customize the pdf reports?.]]></description>
		<lastBuildDate>Tue, 05 Jul 2016 17:55:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=25726#p25726</link>
			<description><![CDATA[<p>You&#039;re right, <strong>reporting/rep110.php</strong> provides the <strong>Delivery Note</strong> / <strong>Packing Slip</strong>.</p><p>At line 139:<br /></p><div class="codebox"><pre><code>                $rep-&gt;row = $newrow;</code></pre></div><p>insert the following:<br /></p><div class="codebox"><pre><code>                $rep-&gt;Line($rep-&gt;row-1);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 05 Jul 2016 17:55:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=25726#p25726</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=25721#p25721</link>
			<description><![CDATA[<p>Hi everyone,</p><p>I would like to add horizontal line (or border) to separate the items one by one on Delivery Note. I believe i should update the PHP code in rep110.php. However I am not sure which line i should update and if it is possible. It will be much appreciated if anyone of you can advise me how to do this. Thank you.</p>]]></description>
			<author><![CDATA[null@example.com (sirka)]]></author>
			<pubDate>Sat, 02 Jul 2016 08:32:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=25721#p25721</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=24782#p24782</link>
			<description><![CDATA[<p>I shall assume that you have your language strings translated correctly in your forms and reports now.</p><p>The <strong>order_no</strong> (I do not find any <strong>order_id</strong> field in FA, there is however, a <strong>workorder_id</strong> field in FA)&nbsp; field gets a system generated value that should generally come from the auto_increment value in the table but here this field is not auto_increment type. The <a href="https://frontaccounting.com/fawiki/index.php?n=Devel.ERDiagram23">ERD</a> in the Wiki is self-explanatory. It is possible that one more than the highest allotted number for the invoice type record is used as the next one as far as the <strong>order_no</strong> field is concerned. Attempting to change the value in the <strong>order_no</strong> field for the last order in both <strong>sales_orders</strong> and <strong>sales_order_details</strong> tables to say <strong>99</strong> will make sure that the next invoice gets generated with <strong>order_no</strong> as <strong>100</strong>.</p><p>Also note that many different <strong>order_no</strong> records can get billed from a single invoice whilst some may not get billed at all. In reality, there is no direct invoice generation at all in FA and the <strong>order_no</strong> is an internal relational field only. Even in Direct Invoice, the steps of preparing the Order and then making the invoice are automated and not that the former is skipped.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 22 Nov 2015 06:52:47 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=24782#p24782</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=24763#p24763</link>
			<description><![CDATA[<p>Based on your instructions....the key was at db changes of tax types. Thanks alot. </p><p>However, and perhaps the most important request of all, will be to sync sales_order_entry and FORM setup with pdf files. </p><p>Here are snapshots of FA and DB for your review. </p><p>FA Form setup parameters .... <a href="http://screenshot.net/vqmy2ce">[img]http://screenshot.net/vqmy2ce.jpg[/img]</a></p><p>FA Sales order Entry ...... <a href="http://screenshot.net/vvnp9ap">[img]http://screenshot.net/vvnp9ap.jpg[/img]</a></p><p>FA Sales Order View ...... <a href="http://screenshot.net/ve09xf9">[img]http://screenshot.net/ve09xf9.jpg[/img]</a></p><p>DB Sales Order Table...... <a href="http://screenshot.net/v5nzkhk">[img]http://screenshot.net/v5nzkhk.jpg[/img]</a></p><p>DB Ref Table ................ <a href="http://screenshot.net/vzx3ju5">[img]http://screenshot.net/vzx3ju5.jpg[/img]</a></p><p>PDF Sales Quote file...... <a href="http://screenshot.net/5e6zot1">[img]http://screenshot.net/5e6zot1.jpg[/img]</a></p><p>My analysis is that Form Setup is drawing values from reference field. The values that prevail on all PDF reports and files are linked to, or in sync with, the order_id field. MY intentions are to change default order_id values to start at 100+.&nbsp; </p><p>Is there a fix for the above ?</p><p>Finally, we want to thank you for such a fine job you guys are doing in making this project possible.</p>]]></description>
			<author><![CDATA[null@example.com (sbt507)]]></author>
			<pubDate>Tue, 17 Nov 2015 01:07:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=24763#p24763</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=24759#p24759</link>
			<description><![CDATA[<p>I assume you are using the Spanish (Panama) Language (es_PA) file. The latest .po and compiled .mo files are <a href="https://github.com/apmuthu/frontaccounting/tree/master/extensions/Languages/es_PA">here</a> and they can replace the ones in your <strong>lang</strong> folder. The IVA =&gt; ITBM changed version is attached in this post that you may unzip into the <strong>lang/es_PA/LC_MESSAGES</strong> folder.</p><p>Any changes to the standard .po file for translation variations needed can be uploaded somewhere and link pasted here for making the .mo file in case you are unable to follow the wiki instructions.</p><p>Setup =&gt; Forms Setup is where you put in the next Invoice Number and other FA document numbers.</p><p>Check the Tax Name for IVA (7%) and change it there as well in the tax_types table. There are a whole lot of Account Names like &quot;Hacienda Publica IVA soportado&quot; in the chart_master table and also chart_types table where you might want to replace IVA as well. Just take a backup of the database and then do a search and replace of IVA to ITBM in a case sensitive manner and hope nothing breaks or do it one by one.... and then upload and restore the changed version.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 16 Nov 2015 03:27:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=24759#p24759</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=24755#p24755</link>
			<description><![CDATA[<p>See my problems within the below image......please, advise on fix.</p><p><a href="http://screenshot.net/5e6zot1">[img]http://screenshot.net/5e6zot1.jpg[/img]</a></p><p>FYI, i have already done some changes myself, but there is some additional info I just don´t seem to figure out.</p><p>Would imagen that sames changes done to pdf reports will reflect on image below by default.......</p><p> <a href="http://screenshot.net/5rl25ip">[img]http://screenshot.net/5rl25ip.jpg[/img]</a></p><p>Thank you in advanced.</p>]]></description>
			<author><![CDATA[null@example.com (sbt507)]]></author>
			<pubDate>Sun, 15 Nov 2015 22:22:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=24755#p24755</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=24703#p24703</link>
			<description><![CDATA[<p>Create a new language with translations for VAT. See the en_IN .po file.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 13 Nov 2015 07:38:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=24703#p24703</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=24701#p24701</link>
			<description><![CDATA[<p>All I need is to change footer text, change the word VAT to ITBM and other minor wording changes within the invoice pdf output format .....found this for the footer..... var $footerText;&nbsp; // store user-generated footer text...... on line 62 of pdf_report.inc, but don´t know what to do with it.....please, advise.</p>]]></description>
			<author><![CDATA[null@example.com (sbt507)]]></author>
			<pubDate>Fri, 13 Nov 2015 04:49:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=24701#p24701</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7913#p7913</link>
			<description><![CDATA[<p>how are you all ...? I have a problem ... how to generate a gross profit in the report profit. tanks</p>]]></description>
			<author><![CDATA[null@example.com (zaky)]]></author>
			<pubDate>Sun, 02 Jan 2011 23:35:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7913#p7913</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7471#p7471</link>
			<description><![CDATA[<p>Logo in reports is included in reporting/pdf_report.inc about line 53 (2.3RC version0.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Thu, 18 Nov 2010 13:15:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7471#p7471</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7470#p7470</link>
			<description><![CDATA[<p>Hi,</p><p>thank you for the reply, just want to ask like in the PDF reports, how to put the logo at the center?<br />i mean which file to edit and if its ok what specific code to change?</p><p>although i have a bit knowledge on php..only basic...</p><p>please help and tanx in advance.</p><p>-john</p>]]></description>
			<author><![CDATA[null@example.com (agent182)]]></author>
			<pubDate>Thu, 18 Nov 2010 08:19:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7470#p7470</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7469#p7469</link>
			<description><![CDATA[<p>Unfortunately we have no specialized report generator so far, so to change the report content you need to know php language. Moreover reports does not use html at all as the reports are generated as pdf files. Anyway all the reports definitions are in respective repxxx.php files, together with related sql queries used to retrieve reported data.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Thu, 18 Nov 2010 08:05:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7469#p7469</guid>
		</item>
		<item>
			<title><![CDATA[How to customize the pdf reports?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7466#p7466</link>
			<description><![CDATA[<p>Hi,</p><p>Its been 2 weeks that I have used FA, I have come across a big problem on the pdf reports of Direct Delivery, Direct Invoice, etc..&nbsp; on how to change the positioning of the tables, width, logo, address, and also add more text and tables.</p><p>Cause the report generated is basically different on our reports.<br />Also I have looked at the header2.inc file ,doctext.inc, pdf_report.inc,&nbsp; but there are no html codes for the tables in there and also i cant find the sql scripts for displaying the data so that maybe i can modify the positions and data.</p><p>Please help me on this and thank you in advance.</p><p>Looking Forward,<br />John</p>]]></description>
			<author><![CDATA[null@example.com (agent182)]]></author>
			<pubDate>Thu, 18 Nov 2010 07:14:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7466#p7466</guid>
		</item>
	</channel>
</rss>
