<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Multicurrency on Print]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7959&amp;type=atom" />
	<updated>2019-02-11T07:26:14Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7959</id>
		<entry>
			<title type="html"><![CDATA[Re: Multicurrency on Print]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34209#p34209" />
			<content type="html"><![CDATA[<p>I figured out myself. So if someone is interested, here is what you need to do:</p><div class="codebox"><pre><code>            
            // Print Local Currency if Customer currency is USD
            $rep-&gt;NewLine();
            if ($myrow[&#039;curr_code&#039;] == &quot;USD&quot;)
            {
                $rep-&gt;TextCol(3, 6, _(&quot;TOTAL INVOICE IN AED&quot;), - 2);
                $price_in_aed = $DisplayTotal * 3.685;
                $price_in_aed = number_format($price_in_aed, 2);
                $rep-&gt;TextCol(6, 7, $price_in_aed, -2);
            }   

            // End New Code</code></pre></div>]]></content>
			<author>
				<name><![CDATA[imranrafai]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=44350</uri>
			</author>
			<updated>2019-02-11T07:26:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34209#p34209</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Multicurrency on Print]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34046#p34046" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I was looking to make some changes in the printed invoice where I want to print the invoice total in local currency when the customer currency is different from the company currency.</p><p>I am looking in the rep107.php file, but I wasn&#039;t able to locate how I could put an If condition to check if the two currencies are different. Could anyone point me in the right direction, please.</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[imranrafai]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=44350</uri>
			</author>
			<updated>2019-01-21T17:00:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34046#p34046</id>
		</entry>
</feed>
