<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Add Items on the Fly. Behavior Changed in FA24]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7069</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7069&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Add Items on the Fly. Behavior Changed in FA24.]]></description>
		<lastBuildDate>Sun, 29 Oct 2017 09:54:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Add Items on the Fly. Behavior Changed in FA24]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29291#p29291</link>
			<description><![CDATA[<p>This has been <a href="https://github.com/FrontAccountingERP/FA/commit/ae3b2bb8305be80dfb1e4e89bd10a0395c7db5ba">committed</a> to Repo (the Tax Type inactive <a href="https://frontaccounting.com/punbb/viewtopic.php?pid=29292#p29292">under investigation</a>).</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sun, 29 Oct 2017 09:54:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29291#p29291</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Items on the Fly. Behavior Changed in FA24]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29289#p29289</link>
			<description><![CDATA[<p>The <strong>sales/manage/customer_branches.php</strong> already has <strong>&nbsp; &nbsp; hidden(&#039;popup&#039;, @$_REQUEST[&#039;popup&#039;]);</strong> in it&#039;s line 226 and hence <em>F3 - Select Branch</em> works as expected in Direct Invoice like forms.</p><p>Line 303 of <strong>sales/manage/customers.php</strong>:<br /></p><div class="codebox"><pre><code>    div_start(&#039;controls&#039;);</code></pre></div><p>should now be:<br /></p><div class="codebox"><pre><code>    div_start(&#039;controls&#039;);
    if (@$_REQUEST[&#039;popup&#039;]) hidden(&#039;popup&#039;, 1);</code></pre></div><p>Similarly for <strong>purchasing/manage/suppliers.php</strong> at line 169 as well.</p><p>The Supplier deletion notification is obtained by making line 281 in <strong>purchasing/manage/suppliers.php</strong>:<br /></p><div class="codebox"><pre><code>        $Ajax-&gt;activate(&#039;_page_body&#039;);</code></pre></div><p>to be<br /></p><div class="codebox"><pre><code>        $Ajax-&gt;activate(&#039;_page_body&#039;);
        display_notification(&quot;#&quot; . $_POST[&#039;supplier_id&#039;] . &quot; &quot; . _(&quot;Supplier has been deleted.&quot;));</code></pre></div><p>@joe: Tested. Can commit.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 29 Oct 2017 08:03:17 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29289#p29289</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Items on the Fly. Behavior Changed in FA24]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29288#p29288</link>
			<description><![CDATA[<p>And while digging to this problem I detect the other that after delete of a supplier there is no notification shown.</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Sun, 29 Oct 2017 01:41:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29288#p29288</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Items on the Fly. Behavior Changed in FA24]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29287#p29287</link>
			<description><![CDATA[<p>Both suppliers.php and customers.php also need to be fixed too.</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Sun, 29 Oct 2017 01:36:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29287#p29287</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Items on the Fly. Behavior Changed in FA24]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29254#p29254</link>
			<description><![CDATA[<p>This problem does not arise in FA 2.3.x.</p><p>The equivalent in FA 2.3 is placed just before the <strong>end_form();</strong> statement like:<br /></p><div class="codebox"><pre><code>hidden(&#039;popup&#039;, @$_REQUEST[&#039;popup&#039;]);</code></pre></div><p>In FA 2.4 we have Fixed Assets too as Items and the possibility of @... returning a NULL / false instead of a 0 in current strict syntax of later PHP versions prompted the solution for <a href="https://github.com/FrontAccountingERP/FA/commit/3a57a3833e32f69d78200ddcd0d43bfa1fa9fde8">this commit</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 27 Oct 2017 09:42:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29254#p29254</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Items on the Fly. Behavior Changed in FA24]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29228#p29228</link>
			<description><![CDATA[<p><s>Ok, willdo later.</s> <a href="https://github.com/FrontAccountingERP/FA/commit/3a57a3833e32f69d78200ddcd0d43bfa1fa9fde8">Fixed</a>.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 26 Oct 2017 14:31:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29228#p29228</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Items on the Fly. Behavior Changed in FA24]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29227#p29227</link>
			<description><![CDATA[<p>My fix works.</p><p>@joe: can commit it. Diff attached.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 26 Oct 2017 13:49:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29227#p29227</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Items on the Fly. Behavior Changed in FA24]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29216#p29216</link>
			<description><![CDATA[<p>@joe: fix?</p><p>Lines 532 to 547 in <strong>inventory/manage/items.php</strong>:<br /></p><div class="codebox"><pre><code>    div_start(&#039;controls&#039;);
    if (!isset($_POST[&#039;NewStockID&#039;]) || $new_item) 
    {
        submit_center(&#039;addupdate&#039;, _(&quot;Insert New Item&quot;), true, &#039;&#039;, &#039;default&#039;);
    } 
    else 
    {
        if (@$_REQUEST[&#039;popup&#039;]) hidden(&#039;popup&#039;, 1);
        submit_center_first(&#039;addupdate&#039;, _(&quot;Update Item&quot;), &#039;&#039;, 
            $page_nested ? true : &#039;default&#039;);
        submit_return(&#039;select&#039;, get_post(&#039;stock_id&#039;), 
            _(&quot;Select this items and return to document entry.&quot;));
        submit(&#039;clone&#039;, _(&quot;Clone This Item&quot;), true, &#039;&#039;, true);
        submit(&#039;delete&#039;, _(&quot;Delete This Item&quot;), true, &#039;&#039;, true);
        submit_center_last(&#039;cancel&#039;, _(&quot;Cancel&quot;), _(&quot;Cancel Edition&quot;), &#039;cancel&#039;);
    }</code></pre></div><p>We need to let the resultant page after insertion know that it came from a popup. Hence move the line:<br /></p><div class="codebox"><pre><code>        if (@$_REQUEST[&#039;popup&#039;]) hidden(&#039;popup&#039;, 1);</code></pre></div><p>to be the second line in the snippet above.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 26 Oct 2017 11:09:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29216#p29216</guid>
		</item>
		<item>
			<title><![CDATA[Add Items on the Fly. Behavior Changed in FA24]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29198#p29198</link>
			<description><![CDATA[<p>Hello, There is a change in behaviour while adding Items on the Fly while creating invoices in FA24.</p><p>When we press F4 the dialog opens. When a New Item is created and then selected to be added as a Line Item in Invoice, the Select Button doesn&#039;t appear at the bottom. This is unlike in FA23.</p><p>Please do the whole process to reproduce the behavior. Because when you will press F4, you will see the select button, then if you select any other item you will see the select button, but when you create new item and then select it the Select button will disappear.</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Wed, 25 Oct 2017 11:25:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29198#p29198</guid>
		</item>
	</channel>
</rss>
