<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Print Statements (rep_108)  Date]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8716&amp;type=atom" />
	<updated>2020-03-13T05:31:30Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8716</id>
		<entry>
			<title type="html"><![CDATA[Re: Print Statements (rep_108)  Date]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=37139#p37139" />
			<content type="html"><![CDATA[<p>Sorry @notrinos</p><p>I was looking at a different system when I posted the above.</p><p>adding<br /></p><div class="codebox"><pre><code>$rep-&gt;formData[&#039;document_date&#039;] = date2sql(Today());</code></pre></div><p>did not help resolve the issue.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2020-03-13T05:31:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=37139#p37139</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Print Statements (rep_108)  Date]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=37134#p37134" />
			<content type="html"><![CDATA[<p>Thanks @notrinos<br />Your code addition works.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2020-03-12T07:02:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=37134#p37134</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Print Statements (rep_108)  Date]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=37133#p37133" />
			<content type="html"><![CDATA[<p>This occurs when php date and mysql date are not the same.<br />You can add this code right below line 127 of rep108.php to make the report get the php date instead of mysql date:<br /></p><div class="codebox"><pre><code>$rep-&gt;formData[&#039;document_date&#039;] = date2sql(Today());</code></pre></div><p>Or somehow synchronize php date and mysql date in the data manipulation functions.</p>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2020-03-12T06:54:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=37133#p37133</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Print Statements (rep_108)  Date]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=37132#p37132" />
			<content type="html"><![CDATA[<p>The date on rep_108 always picks the server date (hosting server). I have specified the time zones in</p><p>.htaccess<br />config.php<br />/includes/date_functions.inc</p><p>all to be Asia/Dubai.. still rep_108 shows the system date and not the timezone date.</p><p>Attached screen shots.</p><p>Any suggestions on how to correct this to show the timezone date?</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2020-03-12T06:14:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=37132#p37132</id>
		</entry>
</feed>
