<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — body of an email from reports]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=3823</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3823&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in body of an email from reports.]]></description>
		<lastBuildDate>Fri, 08 Feb 2013 20:23:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: body of an email from reports]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15523#p15523</link>
			<description><![CDATA[<p>Sure, this is right workaround until this is properly implemented in application repo.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Fri, 08 Feb 2013 20:23:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15523#p15523</guid>
		</item>
		<item>
			<title><![CDATA[Re: body of an email from reports]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15515#p15515</link>
			<description><![CDATA[<p>Janusz:</p><p>That is great, thanks.</p><p>What I did in the mean time was put this in pdf_report.inc:<br />&nbsp; &nbsp; switch ($this-&gt;formData[&#039;doctype&#039;])<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; case ST_SALESQUOTE:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $msg = _(&quot;Attached you will find &quot;) . &quot; &quot; . $subject .&quot;\n\n&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $msg .=&quot;Please contact us with any questions or when you are ready to place this order.&quot; . &quot;\n\n&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $msg .=&quot;Thank you for the opportunity to offer this quote to you and we look forward to working with you.&quot; . &quot;\n\n&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $msg .= _(&quot;Sincerely,&quot;) . &quot;\n\n&quot;;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />...</p><br /><p>ed10</p>]]></description>
			<author><![CDATA[null@example.com (ed10)]]></author>
			<pubDate>Fri, 08 Feb 2013 13:29:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15515#p15515</guid>
		</item>
		<item>
			<title><![CDATA[Re: body of an email from reports]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15513#p15513</link>
			<description><![CDATA[<p>Yes, I would like to find time to fix this. Email content hardcoded in repo class is definitely design issue, or rather long lasting stopgap <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Fri, 08 Feb 2013 08:56:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15513#p15513</guid>
		</item>
		<item>
			<title><![CDATA[Re: body of an email from reports]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15483#p15483</link>
			<description><![CDATA[<p>Janusz:</p><p>Do you think this is worth your effort?</p><p>ed10</p>]]></description>
			<author><![CDATA[null@example.com (ed10)]]></author>
			<pubDate>Tue, 05 Feb 2013 16:30:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15483#p15483</guid>
		</item>
		<item>
			<title><![CDATA[Re: body of an email from reports]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15478#p15478</link>
			<description><![CDATA[<p>I guess solution to this problem should&nbsp; be user defined mail templates for various transactions. But yes, this need some work to be done in the code, and would need databse changes, so cannot be done in 2.3.x<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 05 Feb 2013 13:52:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15478#p15478</guid>
		</item>
		<item>
			<title><![CDATA[Re: body of an email from reports]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15468#p15468</link>
			<description><![CDATA[<p>FA uses hooks. The devs can incorporated one for such email message parameter tweaks, CAPTCHA auth addons, etc., in the base code of FA.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 05 Feb 2013 01:24:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15468#p15468</guid>
		</item>
		<item>
			<title><![CDATA[body of an email from reports]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15466#p15466</link>
			<description><![CDATA[<p>Hi,</p><p>I have been working some on emailing reports, started with quotations and now on to invoices.</p><p>The main body of the email seems to be coded in the file reporting/includes/pdf_report.inc using the variable $msg.</p><p>I sure would like to be able to write the body of the email using some variable that is in my custom reports in company directory (rep111 for quotations or rep107 for invoices).&nbsp; That way pdf_report.inc will in general stay the same thru the Mercurial updates but if it is edited heavily to get the body of the email set for all the different report, it becomes a real pain to have to follow.&nbsp; </p><p>Two other files in sort of the same situation are doctext.inc and header2.inc (seems these two files get suggested to be edited often in the forum).&nbsp; They are often edited just to get a bit of different text in some document.&nbsp; It would be nice it the text stuff was in the company file and the good hard code to make it run was in the doctext.inc and header2.inc. </p><p>I don&#039;t know if I am missing something in the reports that will do the msg or the task may be very hard to code.&nbsp; But the section of this forum is Wish List and I am wishing.</p><p>Thanks Joe, Janusz and apmuthu&nbsp; you have all been a great help to me</p><p>ed10</p>]]></description>
			<author><![CDATA[null@example.com (ed10)]]></author>
			<pubDate>Tue, 05 Feb 2013 01:00:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15466#p15466</guid>
		</item>
	</channel>
</rss>
