<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Add input data check for Gl Setup]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7832&amp;type=atom" />
	<updated>2018-11-20T09:54:08Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7832</id>
		<entry>
			<title type="html"><![CDATA[Re: Add input data check for Gl Setup]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33339#p33339" />
			<content type="html"><![CDATA[<p>I will have a look.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-11-20T09:54:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33339#p33339</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add input data check for Gl Setup]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33336#p33336" />
			<content type="html"><![CDATA[<p>Should we add this modification to the next release also ?<br /><a href="https://frontaccounting.com/punbb/viewtopic.php?id=7764">https://frontaccounting.com/punbb/viewtopic.php?id=7764</a></p>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2018-11-20T07:05:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33336#p33336</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add input data check for Gl Setup]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33328#p33328" />
			<content type="html"><![CDATA[<p>We are planning a minor 2.4.5 release soon.</p><p>We just have to examine the Mantis Bug Tracker.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-11-19T05:45:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33328#p33328</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add input data check for Gl Setup]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33327#p33327" />
			<content type="html"><![CDATA[<p>A generic function encapsulating the error displayed and the checks may be in order. This may need to be done in a multitude of forms bloating the codebase otherwise.</p><p>@joe: There have been more than 50 commits since the last version release over 6 months ago - time for a another one with all translation strings as well?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-11-19T03:25:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33327#p33327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add input data check for Gl Setup]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33326#p33326" />
			<content type="html"><![CDATA[<p>This has now been fixed and committed to stable repo. Thanks @notrinos.</p><p>The fixed file can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/admin/gl_setup.php">here</a>.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-11-18T22:01:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33326#p33326</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Add input data check for Gl Setup]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33325#p33325" />
			<content type="html"><![CDATA[<p>Ok, willdo.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-11-18T15:12:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33325#p33325</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Add input data check for Gl Setup]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33324#p33324" />
			<content type="html"><![CDATA[<p>Should add these checks for function can_process() gl_setup.php<br /></p><div class="codebox"><pre><code>if (!check_num(&#039;past_due_days&#039;, 0, 100))
    {
        display_error(_(&quot;The past due days interval allowance must be between 0 and 100.&quot;));
        set_focus(&#039;past_due_days&#039;);
        return false;
    }

    if (!check_num(&#039;default_quote_valid_days&#039;, 0))
    {
        display_error(_(&quot;Quote Valid Days is not valid number.&quot;));
        set_focus(&#039;default_quote_valid_days&#039;);
        return false;
    }

    if (!check_num(&#039;default_delivery_required&#039;, 0))
    {
        display_error(_(&quot;Delivery Required By is not valid number.&quot;));
        set_focus(&#039;default_delivery_required&#039;);
        return false;
    }

    if (!check_num(&#039;default_receival_required&#039;, 0))
    {
        display_error(_(&quot;Receival Required By is not valid number.&quot;));
        set_focus(&#039;default_receival_required&#039;);
        return false;
    }

    if (!check_num(&#039;default_workorder_required&#039;, 0))
    {
        display_error(_(&quot;Work Order Required By After is not valid number.&quot;));
        set_focus(&#039;default_workorder_required&#039;);
        return false;
    }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2018-11-18T12:48:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33324#p33324</id>
		</entry>
</feed>
