<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Page numbering on invoices report]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5483&amp;type=atom" />
	<updated>2015-01-25T14:01:04Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5483</id>
		<entry>
			<title type="html"><![CDATA[Re: Page numbering on invoices report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22323#p22323" />
			<content type="html"><![CDATA[<p>You can use the Non Field DB Data feature of FA and design your own invoices accordingly. The functional elements are already in FA v2.4 and are available as backports in <a href="https://github.com/apmuthu/frontaccounting/tree/master/FAMods">my GitHub repo&#039;s FAMods</a> folder. This way, you do not need any extra field for it and it can remain in the same field itself using hash delimited space separated elements. </p><p>Assisting you with this is outside the scope of the FA forum and you will need to either do it yourself or seek professional assistance. </p><p>The specific function that does this job is the last one in <a href="http://https:/sourceforge.net/p/frontaccounting/mercurial/ci/unstable/tree/reporting/includes/reporting.inc">reporting/includes/reporting.inc</a> file in the FA v2.4 Mercurial repo.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-01-25T14:01:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22323#p22323</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Page numbering on invoices report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22322#p22322" />
			<content type="html"><![CDATA[<p>Is it possible to create another comment2, populate the #_sales_orders.comment2 and have it output on invoices?<br />This is where the comment2 being placed top at the header, serving as Attn : xxxx (as client&#039;s unique request to have it entered during invoice creation)</p>]]></content>
			<author>
				<name><![CDATA[netracer]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19800</uri>
			</author>
			<updated>2015-01-25T13:43:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22322#p22322</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Page numbering on invoices report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22319#p22319" />
			<content type="html"><![CDATA[<p>One is the FA GUI form field called by it&#039;s label and the other is the table field name (<strong>#_sales_orders.comments</strong>) into which it gets populated.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-01-25T13:23:47Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22319#p22319</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Page numbering on invoices report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22318#p22318" />
			<content type="html"><![CDATA[<p>Thank you for the detailed insights on the above issues. </p><p>Invoice memo field - same as Invoice comments ?</p>]]></content>
			<author>
				<name><![CDATA[netracer]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19800</uri>
			</author>
			<updated>2015-01-25T13:16:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22318#p22318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Page numbering on invoices report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22209#p22209" />
			<content type="html"><![CDATA[<p><a href="http://mailto:alann@2d2m.my">Alann Toh</a> from Malaysia made a few requests that may be nice if added to the FA core:<br /></p><div class="quotebox"><blockquote><ul><li><p>In reports, I would like to have page numbering x of y pages instead of only page x</p></li><li><p>would also like to add Attn : contact_name auto derived from branch_person / contact_name and editable during invoice input by having a text box</p></li><li><p>A discount textboxt at direct invoice before shipping</p></li></ul></blockquote></div><p>On checking out the PDF generation classes and the bridge functions between the older FPDI and the new TCPDF, we find that the <strong>Header3()</strong> method in <strong>excel_report.inc</strong> and <strong>pdf_report.inc</strong> (that uses the <strong>Total Number of Pages in PDF</strong> data is not used in any of the reports. </p><p>Other features of the <strong>Info()</strong> method in these files too don&#039;t go beyond using the first 4 arguments in the report files whereas, the <strong>$companylogoenable</strong>,&nbsp; <strong>$footerenable</strong> and <strong>$footertext</strong> arguments provide for additional functionality that obviates the need for repetitive coding in the reports. The <strong>excel_report.inc</strong> defines <strong>7</strong> arguments in the <strong>Info(</strong>) method whereas it&#039;s counterpart in the <strong>pdf_report.inc</strong> <strong>additionally</strong> defines the <strong>three </strong>arguments listed earlier.</p><p>These may well be some of <strong>FrontAccounting</strong>&#039;s best kept secrets!</p><p>Attached is one way to address Alann&#039;s first request.</p><p>The second issue notes: The <strong>contact_name</strong> issue is in flux at the moment since all such info are being collimated into the <strong>crm_persons</strong> table and some reports still reference the old one though the standard forms now avoid it. It will require custom coding and maintaining it as fixes to the core code arrives will need to be taken care of unless assimilated into the core. The Invoice memo form field is the best alternative for now.</p><p>The third request fix: A discount Text box during Invoice Input can be implemented by invoicing a dummy service item (Discounts Offered) of editable description and stating amount (negative) at use time. Otherwise, provide the discount at payment allocation time.</p><p>The current stable version 2.3 will only get critical fixes backported as the devs policy which is justified, as resources are best spent on newer versions.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-01-17T08:52:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22209#p22209</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Page numbering on invoices report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22205#p22205" />
			<content type="html"><![CDATA[<p>Anyone care to share page numbering for invoices, Page a of b?<br />where a is current page<br />and b is total pages</p>]]></content>
			<author>
				<name><![CDATA[netracer]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19800</uri>
			</author>
			<updated>2015-01-17T01:26:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22205#p22205</id>
		</entry>
</feed>
