<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Wrong error text on foreign item entry]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=5336</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5336&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Wrong error text on foreign item entry.]]></description>
		<lastBuildDate>Tue, 25 Nov 2014 19:01:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Wrong error text on foreign item entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21561#p21561</link>
			<description><![CDATA[<p>When we enter a Foreign Item Code without a quantity, the wrong error text is displayed as price instead of quantity - the code fragment that needs to be corrected is in inventory/manage/item_codes.php lines 38 to 43:<br /></p><div class="codebox"><pre><code>       elseif (!input_num(&#039;quantity&#039;))
       {
          $input_error = 1;
          display_error( _(&quot;The price entered was not positive number.&quot;));
        set_focus(&#039;quantity&#039;);
       }</code></pre></div><p>which should be:<br /></p><div class="codebox"><pre><code>       elseif (!input_num(&#039;quantity&#039;))
       {
          $input_error = 1;
          display_error( _(&quot;The quantity entered was not positive number.&quot;));
        set_focus(&#039;quantity&#039;);
       }</code></pre></div><p>This should also allow if a zero (0) is entered as the quantity.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 25 Nov 2014 19:01:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21561#p21561</guid>
		</item>
	</channel>
</rss>
