<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Workflow adjustment to sales_order_ui.inc]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7259</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7259&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Workflow adjustment to sales_order_ui.inc.]]></description>
		<lastBuildDate>Wed, 17 Jan 2018 07:14:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Workflow adjustment to sales_order_ui.inc]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30538#p30538</link>
			<description><![CDATA[<p>It actually looks nice in just 2 lines instead of 3 line header table.</p><p>@joe: Want to add it into the core or does it go against intuition (needing to be first seen) and / or familiarity hitherto?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 17 Jan 2018 07:14:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30538#p30538</guid>
		</item>
		<item>
			<title><![CDATA[Re: Workflow adjustment to sales_order_ui.inc]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30535#p30535</link>
			<description><![CDATA[<p>Update, I have used it this way for a week with no problems. It works much better.</p>]]></description>
			<author><![CDATA[null@example.com (trafficpest)]]></author>
			<pubDate>Wed, 17 Jan 2018 06:45:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30535#p30535</guid>
		</item>
		<item>
			<title><![CDATA[Workflow adjustment to sales_order_ui.inc]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30465#p30465</link>
			<description><![CDATA[<p>In sales_order_ui.inc the reference number input is placed in table_section(1) and I beleive workflow is better if it is placed at the end of table_section(4). Because...</p><p>When entering an invoice and tabbing through the fields with a keyboard. If you enter a custom reference in table_section(1) then tab through to table_section(4) and enter a date it will update the reference number to the next sequencial number causing you to go back to table_section(1) to replace the value again.</p><p>I suggest removing this line from line 361</p><div class="codebox"><pre><code>ref_row(_(&quot;Reference&quot;).&#039;:&#039;, &#039;ref&#039;, _(&#039;Reference number unique for this document type&#039;), null, &#039;&#039;, $order-&gt;trans_type, array(&#039;date&#039;=&gt; @$_POST[&#039;OrderDate&#039;]));</code></pre></div><p> </p><p>and place it here around 458</p><div class="codebox"><pre><code>    else
    {
        label_row($date_text, $order-&gt;document_date);
        hidden(&#039;OrderDate&#039;, $order-&gt;document_date);
    }
    
    ref_row(_(&quot;Reference&quot;).&#039;:&#039;, &#039;ref&#039;, _(&#039;Reference number unique for this document type&#039;), null, &#039;&#039;, $order-&gt;trans_type, array(&#039;date&#039;=&gt; @$_POST[&#039;OrderDate&#039;]));

    end_outer_table(1); // outer table

    if ($change_prices != 0) {
        foreach ($order-&gt;line_items as $line_no=&gt;$item) {
            $line = &amp;$order-&gt;line_items[$line_no];
            $line-&gt;price = get_kit_price($line-&gt;stock_id, $order-&gt;customer_currency,
                $order-&gt;sales_type, $order-&gt;price_factor, get_post(&#039;OrderDate&#039;));
        }
        $Ajax-&gt;activate(&#039;items_table&#039;);
    }</code></pre></div><p>Let me know if this will cause trouble that I am unaware I am trying it now.</p>]]></description>
			<author><![CDATA[null@example.com (trafficpest)]]></author>
			<pubDate>Wed, 10 Jan 2018 17:30:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30465#p30465</guid>
		</item>
	</channel>
</rss>
