<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Displaying Discount amount on invoice]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5957&amp;type=atom" />
	<updated>2016-10-24T13:00:33Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5957</id>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26639#p26639" />
			<content type="html"><![CDATA[<p>@seahawk: The global variable <strong>$no_zero_lines_amount</strong> is used to display the zero amount line in reports 107, 109, 110, 111:<br /></p><div class="codebox"><pre><code>                if ($Net != 0.0 || !is_service($myrow2[&#039;mb_flag&#039;]) || !isset($no_zero_lines_amount) || $no_zero_lines_amount == 0)
                {
..
..</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2016-10-24T13:00:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26639#p26639</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26635#p26635" />
			<content type="html"><![CDATA[<p>In the config file there is also an option on line 74:</p><p>/* Do not print zero lines amount of 0.00 in Sales Documents if service item. 1 = do not */<br />&nbsp; &nbsp; $no_zero_lines_amount = 1;</p>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2016-10-24T08:55:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26635#p26635</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24386#p24386" />
			<content type="html"><![CDATA[<p>Thanks. Have done something similar but have setup a service item linked to the discount given account&nbsp; in the ledger.</p><p>I though there might a a tick mark or display zeros or something that might be easier, but you idea works great as well.</p><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2015-09-29T12:32:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24386#p24386</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24385#p24385" />
			<content type="html"><![CDATA[<p>@carmelr: Superb! Thanks.</p><p><a href="https://frontaccounting.com/fawiki/index.php?n=Help.Sales">Wiki</a>-ed it.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-09-29T09:11:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24385#p24385</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24383#p24383" />
			<content type="html"><![CDATA[<p>The way I do it is to enter the discount on another line and enter a negative amount.</p><p>See examples here:<br /><a href="http://cleversolutions.eu/img/Invoice-discount.png">http://cleversolutions.eu/img/Invoice-discount.png</a><br /><a href="http://cleversolutions.eu/img/Invoice-discount-print.png">http://cleversolutions.eu/img/Invoice-d … -print.png</a></p>]]></content>
			<author>
				<name><![CDATA[carmelr]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=13862</uri>
			</author>
			<updated>2015-09-29T08:40:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24383#p24383</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24381#p24381" />
			<content type="html"><![CDATA[<p>Thanks for the effort.</p><p>Seems there is no easy way around this.</p>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2015-09-28T18:35:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24381#p24381</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24379#p24379" />
			<content type="html"><![CDATA[<p>Unfortunately, the values are stored in the tables in a disjoint manner. The full values of amount and tax are stored in <strong>#_debtor_trans_details</strong>. The &quot;net of discount&quot; values are stored in <strong>#_debtor_trans</strong> - the last line in the Print Invoice takes it&#039;s value for INVOICE TOTAL from here.</p><p>You will need a completely different SQL linking the tables appropriately to get what you want. Otherwise, it will need to find a place in the Comments field manually entered which is what I assume you are doing now.!</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-09-28T16:59:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24379#p24379</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24378#p24378" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>rep107.php (Print Invoice) does not show the rate and discounts</p></blockquote></div><p>Thanks</p><p>Agree, but what should I change in the rep107 to show the item cost and the 100% discount on the invoice with 0 toal for the line item?</p>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2015-09-28T16:30:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24378#p24378</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24377#p24377" />
			<content type="html"><![CDATA[<p>Check the transactions (#_debtor_trans) table to see if it shows up there. </p><p>rep107.php (Print Invoice) does not show the rate and discounts<br />rep112.php (Print Receipts) shows the vales as 0 for left to allocate.<br />ViewGL Transactions shows the values contra-ed as being amounts before tax!<br />The View Sales Invoice page shows the amount after tax!</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-09-28T16:08:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24377#p24377</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24374#p24374" />
			<content type="html"><![CDATA[<p>I do that, but when you print the invoice (Pdf) file, on the report, it does not display the amount nor the discount</p>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2015-09-28T15:52:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24374#p24374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24372#p24372" />
			<content type="html"><![CDATA[<p>Use the full original value of the ABC Service Item in the invoice with the cost you would normally charge but use 100% as discount.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-09-28T14:44:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24372#p24372</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24371#p24371" />
			<content type="html"><![CDATA[<p>Hi</p><p>I use a service item for Example ABC; total = 1 ; Price = 30; Discount = 10%; Result = 0</p><p>On the invoice only ABC is printed and the rest is blank. Nothing is shown in that line on the invoice. I need the line to show the above information.</p><p>regards</p>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2015-09-28T13:32:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24371#p24371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24368#p24368" />
			<content type="html"><![CDATA[<p>Invoice a &quot;0&quot; cost service with it&#039;s name indicating &quot;Usual cost $...&quot; ?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-09-28T13:17:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24368#p24368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Displaying Discount amount on invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24363#p24363" />
			<content type="html"><![CDATA[<p>Hi</p><p>Sometimes I want to show a service cost on the client invoice and give them a 100% discount, but I need the discount% to display as well as the amount of zero(0) on the invoice.</p><p>Have searched the forum but cannot find something</p><p>regards</p>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2015-09-28T10:20:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24363#p24363</id>
		</entry>
</feed>
