<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7683</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7683&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php.]]></description>
		<lastBuildDate>Mon, 10 Sep 2018 03:37:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32628#p32628</link>
			<description><![CDATA[<p>This happens when there are no transactions in <strong>function get_customer_trans_version()</strong> in <strong>sales/includes/db/cust_trans_db.inc</strong>. The construct at lines 37-43:<br /></p><div class="codebox"><pre><code>    $sql= &#039;SELECT trans_no, version FROM &#039;.TB_PREF. &#039;debtor_trans
            WHERE type=&#039;.db_escape($type).&#039; AND (&#039;;

    foreach ($trans_no as $key=&gt;$trans)
        $trans_no[$key] =     &#039;trans_no=&#039;.db_escape($trans_no[$key]);

    $sql .= implode(&#039; OR &#039;, $trans_no) . &#039;)&#039;;</code></pre></div><p>can be modified to be<br /></p><div class="codebox"><pre><code>    $sql= &#039;SELECT trans_no, version FROM &#039;.TB_PREF. &#039;debtor_trans
            WHERE type=&#039;.db_escape($type).&#039; AND trans_no IN (&#039;.implode(&#039;,&#039;, db_escape($trans_no)).&#039;)&#039;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 10 Sep 2018 03:37:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32628#p32628</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32627#p32627</link>
			<description><![CDATA[<p>Yes, unfortunately it shows voided invoices now Wished this could be removed and if you click the option to edit a voided it will throw a SQL error.</p><div class="quotebox"><blockquote><p>DATABASE ERROR : document version retreival<br />error code : 1064<br />error message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;)&#039; at line 2<br />sql that failed was : SELECT trans_no, version FROM 2_debtor_trans WHERE type=&#039;13&#039; AND ()</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (trafficpest)]]></author>
			<pubDate>Mon, 10 Sep 2018 02:17:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32627#p32627</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32566#p32566</link>
			<description><![CDATA[<p>It is automatically mirrored to /FrontaccountingErp/FA.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 30 Aug 2018 12:09:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32566#p32566</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32565#p32565</link>
			<description><![CDATA[<p>@joe commit <a href="https://sourceforge.net/p/frontaccounting/git/ci/5d8f36d15260bfd9215315935af86b7d96065489/"> this </a> to github as well.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Thu, 30 Aug 2018 11:59:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32565#p32565</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32564#p32564</link>
			<description><![CDATA[<p>This has been solved by including a checkbox in the Customer Transactions &#039;Zero values&#039;. Marking this will show the voided and zero valued records.</p><p>Will be committed in a while.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 30 Aug 2018 07:00:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32564#p32564</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32562#p32562</link>
			<description><![CDATA[<p>Yes, maybe a company flag. Will have a look.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 29 Aug 2018 18:04:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32562#p32562</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32561#p32561</link>
			<description><![CDATA[<p>@joe: should a flag be used or should it simulate the old functionality with the inclusion of the said code?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 29 Aug 2018 17:33:43 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32561#p32561</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32558#p32558</link>
			<description><![CDATA[<p>You&nbsp; guys are awesome and that did work.</p><p>Just to let you know it still doesn&#039;t show the delivery notes in the 0.00 amount.</p><p>Thanks again, you guys are always the greatest</p>]]></description>
			<author><![CDATA[null@example.com (trafficpest)]]></author>
			<pubDate>Wed, 29 Aug 2018 16:37:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32558#p32558</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32547#p32547</link>
			<description><![CDATA[<p>@joe: Please verify and include if okay. Why was this done in the first place - was it the remnant of some debug coding? Or must there be a flag to suppress zero entries?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 29 Aug 2018 03:16:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32547#p32547</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32545#p32545</link>
			<description><![CDATA[<p>I didn&#039;t know it changed, but to show them,</p><p>sales/includes/db/cust_trans_db.inc<br /> function get_sql_for_customer_inquiry</p><p>Change line 351 to:</p><div class="codebox"><pre><code>    // exclude voided transactions :
            .&quot; AND ISNULL(v.date_)&quot;
        // exclude self-balancing (journal) transactions:

      .&quot; AND (trans.type = &quot; . ST_SALESINVOICE . &quot;
            OR (trans.ov_amount + trans.ov_gst + trans.ov_freight + trans.ov_freight_tax + trans.ov_discount) != 0)&quot;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Braath Waate)]]></author>
			<pubDate>Wed, 29 Aug 2018 01:36:43 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32545#p32545</guid>
		</item>
		<item>
			<title><![CDATA[2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32544#p32544</link>
			<description><![CDATA[<p>I just upgraded to 2.4.4 from 2.4.1 and it no longer shows sales invoices if they were for free i.e. 0.00 </p><p>We create service invoices for 0.00 when work was guaranteed all the time and can no longer see the clients complete&nbsp; work history.&nbsp; The invoices can no longer be seen all types and I just noticed the delivery notes are missing as well.</p><p>Thank you</p>]]></description>
			<author><![CDATA[null@example.com (trafficpest)]]></author>
			<pubDate>Tue, 28 Aug 2018 20:50:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32544#p32544</guid>
		</item>
	</channel>
</rss>
