<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Total value in words not showing on invoice]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7305&amp;type=atom" />
	<updated>2018-02-03T06:16:49Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7305</id>
		<entry>
			<title type="html"><![CDATA[Re: Total value in words not showing on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30701#p30701" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-02-03T06:16:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30701#p30701</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Total value in words not showing on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30699#p30699" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[varghese]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42161</uri>
			</author>
			<updated>2018-02-02T21:54:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30699#p30699</id>
		</entry>
</feed>
