<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — How to remove aux_info box & to show the invoice total amount words.]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3742&amp;type=atom" />
	<updated>2013-01-20T09:51:11Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3742</id>
		<entry>
			<title type="html"><![CDATA[Re: How to remove aux_info box & to show the invoice total amount words.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15155#p15155" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ahmedtaufiq wrote:</cite><blockquote><p>I wish i could have a dislike button, to rate this post reply. </p><p>No offences to senior members, but you people should draft replies in such a way that they are crisp, clear and easy to understand.</p></blockquote></div><p>I think you should be happy that there are members on this forum that react very quick on (your) question(s)......</p>]]></content>
			<author>
				<name><![CDATA[erwindebruin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4582</uri>
			</author>
			<updated>2013-01-20T09:51:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15155#p15155</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to remove aux_info box & to show the invoice total amount words.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15149#p15149" />
			<content type="html"><![CDATA[<p>I resolved both the issues successfully :</p><p>1) edited the code in header2 and doctext. removed the code that created the box of aux_info. (spent around 5 hrs, in identifying the exact code lines to edit.)</p><p>2) created a new function, which converts the number into words in a new file....and included such file in doctext, header and rep107.php files.</p>]]></content>
			<author>
				<name><![CDATA[ahmedtaufiq]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14880</uri>
			</author>
			<updated>2013-01-20T07:21:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15149#p15149</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to remove aux_info box & to show the invoice total amount words.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15148#p15148" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Each element is populated in the report only if the variable exists.<br />unsetting the &quot;not required&quot; elements of variable <strong>$this-&gt;company</strong> like $this-&gt;company[&#039;gst_no&#039;] during report population and the setting it back would suffice.</p><p>As for number to words, use a <strong>function price_in_words()</strong> in your language <strong>locale.inc</strong> (this does not seem to be documented yet).</p><div class="quotebox"><blockquote><p>Price in words. $doc_type is set to document type and can be used to suppress <br />price in words printing for selected document types.<br />Used instead of built in simple english price_in_words() function.</p></blockquote></div><p>The default function <strong>price_in_words()</strong> is defined in <strong>includes/ui/ui_view.inc</strong> and the default documents it is used in are when <strong>$document</strong> is any of <strong>ST_SUPPAYMENT / ST_CUSTPAYMENT / ST_CHEQUE</strong></p><p>The actual number to words conversion is done in the <strong>function _number_to_words()</strong> in the same file.</p></blockquote></div><p>I wish i could have a dislike button, to rate this post reply. </p><p>No offences to senior members, but you people should draft replies in such a way that they are crisp, clear and easy to understand.</p>]]></content>
			<author>
				<name><![CDATA[ahmedtaufiq]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14880</uri>
			</author>
			<updated>2013-01-20T07:17:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15148#p15148</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to remove aux_info box & to show the invoice total amount words.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15020#p15020" />
			<content type="html"><![CDATA[<p>Each element is populated in the report only if the variable exists.<br />unsetting the &quot;not required&quot; elements of variable <strong>$this-&gt;company</strong> like $this-&gt;company[&#039;gst_no&#039;] during report population and the setting it back would suffice.</p><p>As for number to words, use a <strong>function price_in_words()</strong> in your language <strong>locale.inc</strong> (this does not seem to be documented yet).</p><div class="quotebox"><blockquote><p>Price in words. $doc_type is set to document type and can be used to suppress <br />price in words printing for selected document types.<br />Used instead of built in simple english price_in_words() function.</p></blockquote></div><p>The default function <strong>price_in_words()</strong> is defined in <strong>includes/ui/ui_view.inc</strong> and the default documents it is used in are when <strong>$document</strong> is any of <strong>ST_SUPPAYMENT / ST_CUSTPAYMENT / ST_CHEQUE</strong></p><p>The actual number to words conversion is done in the <strong>function _number_to_words()</strong> in the same file.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-01-13T22:53:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15020#p15020</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to remove aux_info box & to show the invoice total amount words.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15008#p15008" />
			<content type="html"><![CDATA[<p>I want to remove completely the aux_info box from the sales invoice. </p><p>Fields like customer reference, sales person, vat no, delivery note no and due date are irrelevant to my company and i want to completely remove this box.</p><p>Can anyone one tell me the exact code line in header2 and doctext, to which i have to edit/remove, to resolve this issue. ?</p><p>Secondly, i also want to show the total invoice amount in words. e.g &quot;1520&quot; as </p><p>&quot;Payable Amount in words : One Thousand Five Hundred and twenty only.&quot;</p><p>How can i do this?</p>]]></content>
			<author>
				<name><![CDATA[ahmedtaufiq]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14880</uri>
			</author>
			<updated>2013-01-13T10:14:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15008#p15008</id>
		</entry>
</feed>
