<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Error line break on supplier_list_cells when label is set to null]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7703&amp;type=atom" />
	<updated>2018-09-15T08:26:03Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7703</id>
		<entry>
			<title type="html"><![CDATA[Re: Error line break on supplier_list_cells when label is set to null]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32663#p32663" />
			<content type="html"><![CDATA[<p>This has been fixed and <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/includes/ui/ui_lists.inc">committed</a>.<br />Thanks guys.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-09-15T08:26:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32663#p32663</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error line break on supplier_list_cells when label is set to null]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32662#p32662" />
			<content type="html"><![CDATA[<p>You are great guys! Will fix this later.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-09-14T16:20:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32662#p32662</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error line break on supplier_list_cells when label is set to null]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32660#p32660" />
			<content type="html"><![CDATA[<p>True, But we mostly use supplier list cell with label. May be it will help to improve the code issues. if someone uses without label..<br />Instead of <br /></p><div class="codebox"><pre><code>echo &quot;&lt;td&gt;$label&lt;/td&gt;&lt;td&gt;\n&quot;;</code></pre></div><p>Replace with <br /></p><div class="codebox"><pre><code> echo &quot;&lt;td&gt;$label&lt;/td&gt;\n&quot;;
        echo &quot;&lt;td&gt;&quot;;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2018-09-14T15:18:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32660#p32660</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error line break on supplier_list_cells when label is set to null]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32659#p32659" />
			<content type="html"><![CDATA[<p>If call function <strong>supplier_list_cells</strong> with label set to null then the inactive check cell will be pushed down.<br />This can be tested on supplier.php with label modified to null on line 292.<br />Solution: function supplier_list_cells of ui_list.inc should be<br /></p><div class="codebox"><pre><code>function supplier_list_cells($label, $name, $selected_id=null, $all_option=false, 
    $submit_on_change=false, $all=false, $editkey = false)
{
    if ($label != null)
        echo &quot;&lt;td&gt;$label&lt;/td&gt;\n&quot;;
        echo &quot;&lt;td&gt;&quot;;
        echo supplier_list($name, $selected_id, $all_option, $submit_on_change, 
        $all, $editkey);
        echo &quot;&lt;/td&gt;\n&quot;;
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2018-09-14T14:03:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32659#p32659</id>
		</entry>
</feed>
