<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Code to update due_date is ineffective I think]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9629&amp;type=atom" />
	<updated>2022-01-06T14:13:05Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9629</id>
		<entry>
			<title type="html"><![CDATA[Re: Code to update due_date is ineffective I think]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40451#p40451" />
			<content type="html"><![CDATA[<p>This code is working dude. Ofcourse the due&nbsp; date getting updated when the invoice date changed.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2022-01-06T14:13:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40451#p40451</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Code to update due_date is ineffective I think]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40448#p40448" />
			<content type="html"><![CDATA[<p>Hello,</p><p>In <strong>customer_invoice.php</strong> the following code is ineffective I think or may be I am not able to find the way how it works.</p><div class="codebox"><pre><code>if (isset($_POST[&#039;_InvoiceDate_changed&#039;])) {
    $_POST[&#039;due_date&#039;] = get_invoice_duedate($_SESSION[&#039;Items&#039;]-&gt;payment, $_POST[&#039;InvoiceDate&#039;]);
    $Ajax-&gt;activate(&#039;due_date&#039;);
}</code></pre></div><p>Reason of checking this code is that I am facing problem that when I am changing the Invoice Date then It is not changing the Due date. How shall I expect this to work?</p>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2022-01-05T18:12:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40448#p40448</id>
		</entry>
</feed>
