<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Edit Bank Transfer]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3165&amp;type=atom" />
	<updated>2015-01-19T17:44:06Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3165</id>
		<entry>
			<title type="html"><![CDATA[Re: Edit Bank Transfer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22227#p22227" />
			<content type="html"><![CDATA[<p>I was looking for such things and finally i find out my solution here and i am glad that i found truly helpful site.<br />I am an accounting student and always like to do something that can be helpful for others in accounting field by they way i have also a website about accounting solution related and frequently face some coding problem but now i found solution by find this site , thanks to all hard working people and thanks those people who post here and provide solution.</p>]]></content>
			<author>
				<name><![CDATA[alauddin222]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20004</uri>
			</author>
			<updated>2015-01-19T17:44:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22227#p22227</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Edit Bank Transfer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21040#p21040" />
			<content type="html"><![CDATA[<p>Joe / Janusz - this needs to be in the core. Thanks @cambell!</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-10-03T09:16:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21040#p21040</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Edit Bank Transfer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20995#p20995" />
			<content type="html"><![CDATA[<p>I&#039;ve implemented a bank transfer edit feature as per the OP request.&nbsp; The patch is <a href="https://github.com/cambell-prince/frontaccounting/commit/fad33ed06e661e7c7781bbeab866441a2da0669f">available here</a>.</p><p>If you have some mechanism for accepting pull requests let me know.</p><p>E2E tests are also available in my frontaccounting-wrapper repo.&nbsp; If you&#039;re interested in incorporating the e2e tests it would be nice to push the current code down one level and have the tests in a folder that is not in the main src (htdocs) tree.</p>]]></content>
			<author>
				<name><![CDATA[cambell]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19447</uri>
			</author>
			<updated>2014-09-28T08:37:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20995#p20995</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Edit Bank Transfer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12781#p12781" />
			<content type="html"><![CDATA[<p>Joe, <br />Thank you very much for the date fix. This is very helpful.<br />As for the editing - based on what I&#039;ve seen of your work, &#039;tricky&#039; doesn&#039;t seem like it&#039;d be a problem for a guy like you <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>-Joshua</p>]]></content>
			<author>
				<name><![CDATA[sticmann]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=13743</uri>
			</author>
			<updated>2012-06-28T12:02:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12781#p12781</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Edit Bank Transfer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12779#p12779" />
			<content type="html"><![CDATA[<p>Yes, it is tricky to allow editing of bank transfer, so it is not allowed.</p><p>However your topic regarding &#039;Remember last document date, will be fixed in next minor release.</p><p>In the mean time you can change in file /gl/bank_transfer, line 72.</p><p>Remove the existing line<br /></p><div class="codebox"><pre><code> 
date_row(_(&quot;Transfer Date:&quot;), &#039;DatePaid&#039;, &#039;&#039;, null, 0, 0, 0, null, true);</code></pre></div><p>and insert the following lines:<br /></p><div class="codebox"><pre><code>    if (!isset($_POST[&#039;DatePaid&#039;])) { // init page
        $_POST[&#039;DatePaid&#039;] = new_doc_date();
        if (!is_date_in_fiscalyear($_POST[&#039;DatePaid&#039;]))
            $_POST[&#039;DatePaid&#039;] = end_fiscalyear();
    }
    date_row(_(&quot;Transfer Date:&quot;), &#039;DatePaid&#039;, &#039;&#039;, true, 0, 0, 0, null, true);</code></pre></div><p>And insert at line 195:<br /></p><div class="codebox"><pre><code>    new_doc_date($_POST[&#039;DatePaid&#039;]);</code></pre></div><p>/Joe<br />This should fix it.</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-06-28T10:18:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12779#p12779</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Edit Bank Transfer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12775#p12775" />
			<content type="html"><![CDATA[<p>I see an edit button for modifying existing Bank Payments, but not for Bank Transfers. Is this a difficult thing to implement? I&#039;m sure it&#039;s not the last time I&#039;ll make a mistake on a transfer. I know I could void the transaction and re-enter it, but what a pain in the butt for just mis-inputting the date. <br />Speaking of the date, I have my system preferences set to Remember last document date, but the Bank Transfer page keeps going back to today.</p>]]></content>
			<author>
				<name><![CDATA[sticmann]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=13743</uri>
			</author>
			<updated>2012-06-27T21:37:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12775#p12775</id>
		</entry>
</feed>
