<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Workflow adjustment to sales_order_ui.inc]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7259&amp;type=atom" />
	<updated>2018-01-17T07:14:09Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7259</id>
		<entry>
			<title type="html"><![CDATA[Re: Workflow adjustment to sales_order_ui.inc]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30538#p30538" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-01-17T07:14:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30538#p30538</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Workflow adjustment to sales_order_ui.inc]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30535#p30535" />
			<content type="html"><![CDATA[<p>Update, I have used it this way for a week with no problems. It works much better.</p>]]></content>
			<author>
				<name><![CDATA[trafficpest]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42061</uri>
			</author>
			<updated>2018-01-17T06:45:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30535#p30535</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Workflow adjustment to sales_order_ui.inc]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30465#p30465" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[trafficpest]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42061</uri>
			</author>
			<updated>2018-01-10T17:30:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30465#p30465</id>
		</entry>
</feed>
