<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Amount in words in Invoice]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=4095</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4095&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Amount in words in Invoice.]]></description>
		<lastBuildDate>Mon, 06 Jun 2022 10:51:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41151#p41151</link>
			<description><![CDATA[<p>Hello @Apmuthu,</p><p>Thanks for your prompt response always.</p><p>I need you to attend to this please. It is possible to have the amount in words like this Two hundred and fifty thousand naira and eighty five Kobo other than the usual NGN: Two hundred and fifty thousand and &quot;85/100&quot;.</p><p>thanks for always prompt response</p><p>Popsicles12</p>]]></description>
			<author><![CDATA[null@example.com (popsicles12)]]></author>
			<pubDate>Mon, 06 Jun 2022 10:51:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41151#p41151</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40979#p40979</link>
			<description><![CDATA[<p>Hello All,</p><p>Thanks for the beautiful feature. I have the Amount in Words working in my invoice print-out. Can any one assist in the changing the fraction side to proper wording.<br />For example if my currency is Dollar then the fraction is cents. can it be done in such a way that the cents will be in words and not 00/100. NGN: One Hundred and Eighty-Nine Thousand and &quot;00/100&quot;.</p><p>Thanks.</p><p>Popsicles12</p>]]></description>
			<author><![CDATA[null@example.com (popsicles12)]]></author>
			<pubDate>Wed, 04 May 2022 11:35:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40979#p40979</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30118#p30118</link>
			<description><![CDATA[<p>Thanks Stefan.. Commenting the above lines shows the amount in words also in Sales Invoice.</p><p>Regards..</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Wed, 20 Dec 2017 08:33:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30118#p30118</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30114#p30114</link>
			<description><![CDATA[<p>// if (!($document == ST_SUPPAYMENT || $document == ST_CUSTPAYMENT || $document == ST_CHEQUE )) <br />//&nbsp; &nbsp; &nbsp; &nbsp; return &quot;&quot;;</p>]]></description>
			<author><![CDATA[null@example.com (stefan)]]></author>
			<pubDate>Tue, 19 Dec 2017 19:56:32 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30114#p30114</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30113#p30113</link>
			<description><![CDATA[<p>Stefan,</p><p>Which line to comment you are referencing to? Amount in words is important for me because one of my biggest customers insists that I do. BTW I am new to FA and accounting in general. I am running a small business and FA is perfect for me.</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Tue, 19 Dec 2017 16:51:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30113#p30113</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30110#p30110</link>
			<description><![CDATA[<p>@rafat if I remember well there was some session or cache issue with this filtering - delayed change. <br />If it&#039;s still not working and for you amount in words is important, you can simply comment the line and it will be active for all documents.</p>]]></description>
			<author><![CDATA[null@example.com (stefan)]]></author>
			<pubDate>Tue, 19 Dec 2017 08:59:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30110#p30110</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30099#p30099</link>
			<description><![CDATA[<p>During the past 10 years this is the first time I hear that this info is needed on an Invoice.</p><p>I know that this info on Receipts and Remittances are needed.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Mon, 18 Dec 2017 18:25:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30099#p30099</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30098#p30098</link>
			<description><![CDATA[<p>What is the standard procedure to include it in the invoice? Must we edit it like here or in the repXXX file in any different way? Should it be some choice in the company setup as candidates for the sys_prefs table?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 18 Dec 2017 18:18:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30098#p30098</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30097#p30097</link>
			<description><![CDATA[<p>Yes, the reason for not including this info on Sales Invoices is that normally you don&#039;t like or need this info on Invoices.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Mon, 18 Dec 2017 18:12:32 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30097#p30097</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30096#p30096</link>
			<description><![CDATA[<p>@rafat: FA now uses <a href="https://sourceforge.net/p/frontaccounting/git/commit_browser">Sourceforge&#039;s Git</a> and is mirrored on <a href="https://github.com/FrontAccountingERP/FA/">GitHub</a>.</p><p>If the price hook exists for your locale, then it would automatically come. Only otherwise will the rest of the <a href="https://github.com/FrontAccountingERP/FA/blob/master/includes/ui/ui_view.inc#L857">function price_in_words</a> be executed when the default for the Invoices is needed to be overridden by my mod.</p><p>A more elegant mod version for <a href="https://github.com/FrontAccountingERP/FA/blob/master/includes/ui/ui_view.inc#L865">Line 865</a> would be:<br /></p><div class="codebox"><pre><code>if (!in_array($document, array(ST_SUPPAYMENT, ST_CUSTPAYMENT, ST_CHEQUE, ST_SALESINVOICE))</code></pre></div><p>The <strong>function price_in_words()</strong> that finally gets invoked if present is available as a skeleton in <strong><a href="https://github.com/FrontAccountingERP/FA/blob/master/lang/new_language_template/locale.inc#L29">lang/new_language_template/locale.inc</a></strong>.</p><p>@joe: any reason why the Invoice did not default to the words like the others?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 18 Dec 2017 15:57:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30096#p30096</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30094#p30094</link>
			<description><![CDATA[<p>I actually edited the file <strong>includes/ui/ui_view.inc</strong> and this is a copy of the line at position 865 of the file:</p><br /><div class="codebox"><pre><code>    // Only usefor Remittance and Receipts as default
    if (!($document == ST_SUPPAYMENT || $document == ST_CUSTPAYMENT || $document == ST_CHEQUE || $document == ST_SALESINVOICE))
        return &quot;&quot;;
    if ($amount &lt; 0 || $amount &gt; 999999999999)
        return &quot;&quot;;
    $dec = user_price_dec();</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Mon, 18 Dec 2017 13:49:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30094#p30094</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30092#p30092</link>
			<description><![CDATA[<p>You quoted a reply...<br />What did you do? You tried with the mentioned file from the repo or you changed the code in the file of your system?</p><p>If you tried with the mentioned file, it&#039;s still not changed to add words to invoices.<br />You have to find it and change the mentioned code. When reply was made apmuthu mentioned line 793 but it obviously was quoted before some other changes which increased the lines. <br />As of today it is at line 829.</p>]]></description>
			<author><![CDATA[null@example.com (stefan)]]></author>
			<pubDate>Mon, 18 Dec 2017 11:12:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30092#p30092</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30091#p30091</link>
			<description><![CDATA[<p>Thanks Stefan,</p><p>My language is English C both for the user and system and its also the default language. I am just wondering why its only Sales Invoice that does not show.. ? It shows for Remittance, Receipts and checks.</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Mon, 18 Dec 2017 10:16:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30091#p30091</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30074#p30074</link>
			<description><![CDATA[<p>I don&#039;t know about 2.4.3 but first of all check whether it shows when you set user languge and system default language to English &#039;C&#039; .<br />If it works - something is wrong with your locale amount in words.</p>]]></description>
			<author><![CDATA[null@example.com (stefan)]]></author>
			<pubDate>Sun, 17 Dec 2017 13:26:17 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30074#p30074</guid>
		</item>
		<item>
			<title><![CDATA[Re: Amount in words in Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30071#p30071</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Any reason why this has not made it to the HG repo?</p><p>The file is:<br /><a href="https://frontaccounting.hg.sourceforge.net/hgweb/frontaccounting/frontaccounting/file/7404ca95d4a2/includes/ui/ui_view.inc">includes/ui/ui_view.inc</a> and the line to be changed is line no. 793:<br /></p><div class="codebox"><pre><code>     if (!($document == ST_SUPPAYMENT || $document == ST_CUSTPAYMENT || $document == ST_CHEQUE))</code></pre></div><p>to<br /></p><div class="codebox"><pre><code>     if (!($document == ST_SUPPAYMENT || $document == ST_CUSTPAYMENT || $document == ST_CHEQUE || $document == ST_SALESINVOICE))</code></pre></div></blockquote></div><p>amount in words does not show in the Sales Invoice, although it shows on the others. Do I need to change something else? I am running FA 2.4.3.</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Sun, 17 Dec 2017 08:24:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30071#p30071</guid>
		</item>
	</channel>
</rss>
