<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Marker in Void Transactions]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7658&amp;type=atom" />
	<updated>2018-08-10T20:22:46Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7658</id>
		<entry>
			<title type="html"><![CDATA[Re: Marker in Void Transactions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32411#p32411" />
			<content type="html"><![CDATA[<p>Committed to stable repo. Can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/admin/void_transaction.php">here</a>.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-08-10T20:22:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32411#p32411</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Marker in Void Transactions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32410#p32410" />
			<content type="html"><![CDATA[<p>Will do later. Thanks.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-08-10T14:58:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32410#p32410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Marker in Void Transactions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32409#p32409" />
			<content type="html"><![CDATA[<p>When a Transaction is selected to be voided in FA, It is not highlighted.</p><p>Below code would server the cause. Replace the code starting at Line # 174</p><div class="codebox"><pre><code>function is_selected($row) // Function added by faisal
        {
            global $selected_id;
            return $row[&#039;trans_no&#039;] == $selected_id ? true : false;
        }

    $trans_ref = false;
    $sql = get_sql_for_view_transactions(get_post(&#039;filterType&#039;), get_post(&#039;FromTransNo&#039;), get_post(&#039;ToTransNo&#039;), $trans_ref);
    if ($sql == &quot;&quot;)
        return;

    $cols = array(
        _(&quot;#&quot;) =&gt; array(&#039;insert&#039;=&gt;true, &#039;fun&#039;=&gt;&#039;view_link&#039;),
        _(&quot;Reference&quot;) =&gt; array(&#039;fun&#039;=&gt;&#039;ref_view&#039;),
        _(&quot;Date&quot;) =&gt; array(&#039;type&#039;=&gt;&#039;date&#039;, &#039;fun&#039;=&gt;&#039;date_view&#039;),
        _(&quot;GL&quot;) =&gt; array(&#039;insert&#039;=&gt;true, &#039;fun&#039;=&gt;&#039;gl_view&#039;),
        _(&quot;Select&quot;) =&gt; array(&#039;insert&#039;=&gt;true, &#039;fun&#039;=&gt;&#039;select_link&#039;)
    );

    $table =&amp; new_db_pager(&#039;transactions&#039;, $sql, $cols);
    $table-&gt;set_marker(&#039;is_selected&#039;, _(&quot;Marked transactions will be voided.&quot;)); //Added by Faisal</code></pre></div>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2018-08-10T14:09:07Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32409#p32409</id>
		</entry>
</feed>
