<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Vers2.1.2 Bug: possibility to create an invoice in closed Fiscal year]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=996</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=996&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Vers2.1.2 Bug: possibility to create an invoice in closed Fiscal year.]]></description>
		<lastBuildDate>Thu, 07 Jan 2010 15:17:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Vers2.1.2 Bug: possibility to create an invoice in closed Fiscal year]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4315#p4315</link>
			<description><![CDATA[<p>You are right, Jackel7007. This bug has been there all the time.<br />It has been fixed in CVS Main and are going into release 2.2.3.</p><p>In the mean-time you can fix it in file /sales/create_recurrent_invoices.php.<br />After line 62<br /></p><div class="codebox"><pre><code>if (isset($_GET[&#039;recurrent&#039;]))
{</code></pre></div><p>insert the following lines<br /></p><div class="codebox"><pre><code>    $date = Today();
    if (is_date_in_fiscalyear($date))
    {</code></pre></div><p>And after the end about line 99, insert the following lines.<br /></p><div class="codebox"><pre><code>    }
    else
        display_error(_(&quot;The entered date is not in fiscal year.&quot;));</code></pre></div><p>So the previous code is inside the { and }.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 07 Jan 2010 15:17:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4315#p4315</guid>
		</item>
		<item>
			<title><![CDATA[Vers2.1.2 Bug: possibility to create an invoice in closed Fiscal year]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4314#p4314</link>
			<description><![CDATA[<p>In our company we are still using version 2.1.2 and will soon upgrade to 2.2</p><p>We have found out that it is possible to create a new recurrent invoice.</p><p>This was done on 4 januari 2010, and it was booked in the year 2009.</p><p>We found out when checking the paper, and we rebooked the invoice as null<br />But what if people don&#039;t check. <br />And they find out after booking 100 recurrent invoices or more?</p><p>I don&#039;t know if it is possible on other ways to.<br />Normally you get a neat &quot;error message&quot; that you are trying to work out of the fiscal year...</p><p>But seems like sometimes this error is not forthcoming.</p><p>As I already mentioned, we are still using version 2.1.2 So maybe it has been fixed a time ago.<br />In that case, sorry for my report.</p>]]></description>
			<author><![CDATA[null@example.com (jackel7007)]]></author>
			<pubDate>Thu, 07 Jan 2010 14:44:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4314#p4314</guid>
		</item>
	</channel>
</rss>
