<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Bug in report 110]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7272&amp;type=atom" />
	<updated>2018-01-20T15:26:51Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7272</id>
		<entry>
			<title type="html"><![CDATA[Re: Bug in report 110]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30566#p30566" />
			<content type="html"><![CDATA[<p>@joe: Thanks for the <a href="https://github.com/FrontAccountingERP/FA/commit/f31eca3e9d68d964324ebb7da93eccb38dff6484">commit</a>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-01-20T15:26:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30566#p30566</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bug in report 110]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30559#p30559" />
			<content type="html"><![CDATA[<p><a href="https://github.com/FrontAccountingERP/FA/commit/009fd657bd77c44afcde1fc8b8a5b6dea92c3367#commitcomment-26979374">Addendum</a> to your commit:<br /></p><div class="quotebox"><blockquote><p>In <strong>rep102.php</strong>, <em>$sign</em> is computed and then used in the sql so <strong>it is okay</strong>.</p><p>In <strong>rep107.php</strong> <em>$sign</em> is assigned <strong>1</strong> and used and hence it can be fully eliminated unless there are some CAST issues.</p><p>In <strong>rep113.php</strong>, <em>$sign</em> is assigned <strong>-1</strong> and used and may be removed likewise and the sign made inline.</p><p>In <strong>rep109.php, rep111.php and rep209.php</strong> just as in <strong>rep110.php</strong> here, <em>$sign</em> is not assigned anywhere in the script and hence can be removed as done herein.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-01-20T02:59:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30559#p30559</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bug in report 110]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30558#p30558" />
			<content type="html"><![CDATA[<p>I will look at this in a while.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-01-19T19:40:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30558#p30558</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bug in report 110]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30557#p30557" />
			<content type="html"><![CDATA[<p>works great now.. but wondering why $sign works just fine in other reports like 107.</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2018-01-19T19:28:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30557#p30557</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bug in report 110]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30553#p30553" />
			<content type="html"><![CDATA[<p>Replace line 161 in <strong>reporting/rep110.php</strong>:<br /></p><div class="codebox"><pre><code>                    $DisplayFreight = number_format2($sign*$myrow[&quot;ov_freight&quot;],$dec);</code></pre></div><p>with:<br /></p><div class="codebox"><pre><code>                    $DisplayFreight = number_format2($myrow[&quot;ov_freight&quot;],$dec);</code></pre></div><p>The <strong>$sign</strong> is not defined anywhere in the report and may be present through some include when a sales order is being printed. The <strong>$sign</strong> was not present in FA 2.3.x.</p><p>@joe: Should this be committed?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-01-19T16:43:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30553#p30553</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bug in report 110]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30550#p30550" />
			<content type="html"><![CDATA[<p>Hello, <br />it seems there is a bug in report 110 &quot;Print Deliveries&quot;<br />the bug appears when you create a new sales order and add a shipping value.</p><p>the shipping value would be shown correctly in the sales order report.<br />but when printing deliveries the shipping value w&#039;ll always appear as &quot;0&quot; even though the total balance is correct. </p><p>i tested it on the default demo page and i got the same result. </p><p>please check the attached image<br />https://ibb.co/cATmYb</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2018-01-19T09:34:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30550#p30550</id>
		</entry>
</feed>
