<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Per Company invoices]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2511&amp;type=atom" />
	<updated>2011-11-14T22:03:08Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=2511</id>
		<entry>
			<title type="html"><![CDATA[Re: Per Company invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10710#p10710" />
			<content type="html"><![CDATA[<p>Yes, you could build a custom report (use the existing invoice, rep107.php as model) and install it. Then activate it for your companies.</p><p>This is not easy. You will have to look at existing custom reports to get the idea.<br />The existing /reporting/includes/header2.inc and /reporting/includes/doctext.inc also needs to be together with the custom report. The layout is in header2.inc.</p><p>Another and maybe easier way is to copy the invoice report, rep108.php, to /company/X/reporting folder, where X is the company number. Also copy the file /reporting/includes/header2.inc into this folder.<br />Inside the rep108.php copy the header2 function from /reporting/includes/pdf_reports.inc and paste it somewhere in the rep108.php file and call the function header_custom.<br />Change the foders etc. in the header_custom() and <br />change the &nbsp; &nbsp; &nbsp; &nbsp; $rep-&gt;SetHeaderType(&#039;header_custom&#039;); in line 68 and 86.</p><p>The header2.inc file contains the layout of the document.<br />Do the same thing for all other companies. </p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2011-11-14T22:03:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10710#p10710</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Per Company invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10708#p10708" />
			<content type="html"><![CDATA[<p>Is it possible to have one invoice template for company 0 and a different one for company 1, 2, 3, etc?</p>]]></content>
			<author>
				<name><![CDATA[arkestler]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=10317</uri>
			</author>
			<updated>2011-11-14T18:57:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10708#p10708</id>
		</entry>
</feed>
