<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Bug Found in Supplier Invoice in Calculating Unit Tax]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10384</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10384&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bug Found in Supplier Invoice in Calculating Unit Tax.]]></description>
		<lastBuildDate>Fri, 22 Sep 2023 21:34:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bug Found in Supplier Invoice in Calculating Unit Tax]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42594#p42594</link>
			<description><![CDATA[<p>@boxygen</p><p>You are right. This has been fixed and committed to stable repo. Thanks for reporting.</p><p>A fixed version kan be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/purchasing/includes/db/invoice_db.inc">here</a> and replaced on your server.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 22 Sep 2023 21:34:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42594#p42594</guid>
		</item>
		<item>
			<title><![CDATA[Bug Found in Supplier Invoice in Calculating Unit Tax]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42592#p42592</link>
			<description><![CDATA[<p>purchasing/includes/db/invoice_db.inc<br />Line # 276</p><p>The 3rd arugment is 0 but it should be $supp_trans-&gt;tax_group_id. Therefore it should be look like</p><div class="codebox"><pre><code> $line_tax = get_full_price_for_item($entered_grn-&gt;item_code,
            $entered_grn-&gt;this_quantity_inv * $entered_grn-&gt;chg_price, $supp_trans-&gt;tax_group_id, $supp_trans-&gt;tax_included) - $taxfree_line;</code></pre></div><p>Otherwise the unit_tax is not calcuated correctly because</p><p>finally the function get_tax_group_rates is not reurning the rates to calculated the <strong>full_price_of_item()</strong> on above mentioned line.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Fri, 22 Sep 2023 19:57:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42592#p42592</guid>
		</item>
	</channel>
</rss>
