<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Show related invoice no on Credit note]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9872&amp;type=atom" />
	<updated>2022-06-18T13:17:27Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9872</id>
		<entry>
			<title type="html"><![CDATA[Show related invoice no on Credit note]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41183#p41183" />
			<content type="html"><![CDATA[<p>Hi <br />As per new tax requirements, we are supposed to show the related invoice no on the pdf credit note.</p><p>Is there any way to do this?&nbsp; <br />So ideally I want to replace the Order no with the invoice no in the below code in reporting/includes/doctext.inc</p><p>&nbsp; &nbsp; &nbsp; &nbsp; case ST_CUSTCREDIT:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;title = _(&quot;CREDIT NOTE&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;formData[&#039;document_name&#039;] =_(&quot;Credit No.&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $Footer[0] = _(&quot;Please quote Credit no. when paying. All amounts stated in&quot;) . &quot; - &quot; . $this-&gt;formData[&#039;curr_code&#039;];</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $aux_info = array(<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Customer&#039;s Reference&quot;) =&gt; @$this-&gt;formData[&quot;customer_ref&quot;],<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Sales Person&quot;) =&gt; get_salesman_name($this-&gt;formData[&#039;salesman&#039;]),<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Your PIN no.&quot;) =&gt; $this-&gt;formData[&#039;tax_id&#039;],<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Our Order No&quot;) =&gt; $this-&gt;formData[&#039;order_&#039;],<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Due Date&quot;) =&gt; &#039;&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; );<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</p><br /><br /><p>Thanks<br />Sam</p>]]></content>
			<author>
				<name><![CDATA[seend]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20852</uri>
			</author>
			<updated>2022-06-18T13:17:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41183#p41183</id>
		</entry>
</feed>
