<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Vers2.1.2 Bug: possibility to create an invoice in closed Fiscal year]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=996&amp;type=atom" />
	<updated>2010-01-07T15:17:11Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=996</id>
		<entry>
			<title type="html"><![CDATA[Re: Vers2.1.2 Bug: possibility to create an invoice in closed Fiscal year]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4315#p4315" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2010-01-07T15:17:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4315#p4315</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Vers2.1.2 Bug: possibility to create an invoice in closed Fiscal year]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4314#p4314" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jackel7007]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=362</uri>
			</author>
			<updated>2010-01-07T14:44:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4314#p4314</id>
		</entry>
</feed>
