<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Total value in words not showing on invoice]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7305</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7305&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Total value in words not showing on invoice.]]></description>
		<lastBuildDate>Sat, 03 Feb 2018 06:16:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Total value in words not showing on invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30701#p30701</link>
			<description><![CDATA[<p>The <strong>function price_in_words()</strong> prototype is defined in <strong>includes/hooks.inc</strong> and the fallback wrapper uses it in <strong>lang/new_language_template/locale.inc</strong> which needs to be put into the appropriate lang subfolder if you wish to customise it. The default <strong>function price_in_words()</strong> is defined in <strong>includes/ui/ui_view.inc</strong> and is available for Supplier Payments, Customer Payments and Cheques. By default <a href="https://github.com/FrontAccountingERP/FA/blob/master/includes/ui/ui_view.inc#L865">line 865</a> in the said file does not provide the price in words for the Sales / Purchase Invoice. By commenting out <a href="https://github.com/FrontAccountingERP/FA/blob/master/includes/ui/ui_view.inc#L866">line 866</a>, all reports that use it will have the price in words enabled.</p><p>Refer <a href="https://frontaccounting.com/punbb/viewtopic.php?id=4095">this post</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 03 Feb 2018 06:16:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30701#p30701</guid>
		</item>
		<item>
			<title><![CDATA[Total value in words not showing on invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30699#p30699</link>
			<description><![CDATA[<p>Total value in words not showing on invoice. please help</p><p>below are the code </p><p>$words = price_in_words($rep-&gt;formData[&#039;prepaid&#039;] ? $myrow[&#039;prep_amount&#039;] : $myrow[&#039;Total&#039;], array( &#039;type&#039; =&gt; ST_SALESINVOICE, &#039;currency&#039; =&gt; $myrow[&#039;curr_code&#039;]));<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($words != &quot;&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $rep-&gt;NewLine(1);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $rep-&gt;TextCol(0, 7, $myrow[&#039;curr_code&#039;] . &quot;: &quot; . $words, - 2);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p><p>(rep107.php)</p>]]></description>
			<author><![CDATA[null@example.com (varghese)]]></author>
			<pubDate>Fri, 02 Feb 2018 21:54:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30699#p30699</guid>
		</item>
	</channel>
</rss>
