<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7615</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7615&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Editable Item Description's Input is TextBox. How to Enable TextArea.]]></description>
		<lastBuildDate>Wed, 30 Oct 2019 02:56:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36312#p36312</link>
			<description><![CDATA[<div class="quotebox"><cite>boxygen wrote:</cite><blockquote><p>I can see this <a href="https://github.com/FrontAccountingERP/FA/commit/41bdd7820211334cef5c087889e6cd5e6e45af86">commit</a> by @joe for Item Editable Description. I have applied this but I couldn&#039;t find any change in Behaviour of Editable Item Description. Any Idea how shall I expect the change?</p></blockquote></div><br /><p>to view in pages and PDF add -nl2br- in -&gt; sales\includes\ui\sales_order_ui.inc -&gt; around line 183</p><p>label_cell($stock_item-&gt;item_description);</p><p>to</p><p>label_cell(nl2br($stock_item-&gt;item_description) );</p><br /><br /><p>you also want to replace in sales\includes\ui\sales_order_ui.inc around line 492</p><p>text_cells(null,&#039;item_description&#039;, null, 45, 150);</p><p>to</p><p>textarea_cells(null, &#039;item_description&#039;, null, &#039;45&#039; , 5,&nbsp; $title = null);</p>]]></description>
			<author><![CDATA[null@example.com (cristiart)]]></author>
			<pubDate>Wed, 30 Oct 2019 02:56:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36312#p36312</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32510#p32510</link>
			<description><![CDATA[<p>@kvvaradha, thanks got it.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Mon, 20 Aug 2018 17:59:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32510#p32510</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32505#p32505</link>
			<description><![CDATA[<p>@boxygen -&nbsp; The commit code was adjusted by myself. it was <a href="https://frontaccounting.com/punbb/viewtopic.php?id=7569">discussed here</a>. I hope you understand, when you check this thread.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Mon, 20 Aug 2018 04:27:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32505#p32505</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32499#p32499</link>
			<description><![CDATA[<p>Try clearing the js and other browser cache and try it.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 19 Aug 2018 04:37:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32499#p32499</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32497#p32497</link>
			<description><![CDATA[<p>I can see this <a href="https://github.com/FrontAccountingERP/FA/commit/41bdd7820211334cef5c087889e6cd5e6e45af86">commit</a> by @joe for Item Editable Description. I have applied this but I couldn&#039;t find any change in Behaviour of Editable Item Description. Any Idea how shall I expect the change?</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Sun, 19 Aug 2018 03:57:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32497#p32497</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32208#p32208</link>
			<description><![CDATA[<p>I like this too<br />Notes:-<br /></p><ol class="decimal"><li><p>Editable desc is stored in sales_order_details &amp; debtor_trans_details which are both tinytext so 255 char max</p></li><li><p>@apmuthu it should only affect combo_input fields which are editable.</p></li><li><p>When selecting an editable desc item in purchases the textarea is only visible after selecting quantity or price - Is anyone else getting this?</p></li></ol>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Fri, 13 Jul 2018 14:32:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32208#p32208</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32205#p32205</link>
			<description><![CDATA[<p>@boxygen ,&nbsp; I gave it as simple and stand to replace the textbox with textarea.&nbsp; But it requires to save the multi lines as like it inputted.&nbsp; For that, we need to change some more to take effect. Also it may possible to add a option to change it either textbox or textarea</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 13 Jul 2018 12:49:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32205#p32205</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32198#p32198</link>
			<description><![CDATA[<p>A screenshot using the standard default theme (and not the dashboard/canvas) theme would be better for design purposes.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 13 Jul 2018 07:31:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32198#p32198</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32197#p32197</link>
			<description><![CDATA[<p>I have set the cols=&#039;35&#039; and rows=&#039;3&#039; and now its OK for me</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Fri, 13 Jul 2018 07:30:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32197#p32197</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32196#p32196</link>
			<description><![CDATA[<p>I have tested the recommended code of @kvvaradha. It is working fine and data is correctly displayed even in reports. The only problem mentioned in this <a href="https://prnt.sc/k5xah4"> screen short</a></p><p>The TextArea is encompassing the second column</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Fri, 13 Jul 2018 07:07:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32196#p32196</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32194#p32194</link>
			<description><![CDATA[<p>@joe: a nice functionality but may affect a lot more tables fields / scripts.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 13 Jul 2018 05:59:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32194#p32194</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32193#p32193</link>
			<description><![CDATA[<p>Open ui_list.inc&nbsp; and goto line number 259 around and find the below code.</p><div class="codebox"><pre><code>.&quot;&lt;input type=&#039;text&#039; $disabled name=&#039;{$name}_text&#039; id=&#039;{$name}_text&#039; size=&#039;&quot;.
                $opts[&#039;editable&#039;].&quot;&#039; maxlength=&#039;&quot;.$opts[&#039;max&#039;].&quot;&#039; $rel value=&#039;$edit&#039;&gt;\n&quot;;</code></pre></div><p>and replace with below one.<br /></p><div class="codebox"><pre><code>.&quot;&lt;textarea $disabled name=&#039;{$name}_text&#039; id=&#039;{$name}_text&#039; cols=&#039;35&#039; rows=&#039;5&quot;    .($name ? &quot; title=&#039;$name&#039;&quot; : &#039;&#039;)    .&quot;&gt;$edit&lt;/textarea&gt;\n&quot;;</code></pre></div><p>this is code helps you to change it multi-line input(TextArea).&nbsp; But it wont save them like multi lines. There are few other files needs to be edited to allow it to process multi line inputs</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 13 Jul 2018 02:06:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32193#p32193</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32191#p32191</link>
			<description><![CDATA[<p>this should be a great feature, resizable textarea instead of textbox. I think this post should move to Wish List...</p>]]></description>
			<author><![CDATA[null@example.com (cristiart)]]></author>
			<pubDate>Thu, 12 Jul 2018 16:44:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32191#p32191</guid>
		</item>
		<item>
			<title><![CDATA[Editable Item Description's Input is TextBox. How to Enable TextArea]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32186#p32186</link>
			<description><![CDATA[<p>The following function returns a TextBox to Edit Item Description if Item is Editable. Some Item Descriptions needs to be multi lines. How can this function returns TextArea for Editable Items.</p><div class="codebox"><pre><code>function sales_items_list_cells($label, $name, $selected_id=null, $all_option=false, $submit_on_change=false, $editkey=false)
{
    if ($editkey)
        set_editor(&#039;item&#039;, $name, $editkey);

    if ($label != null)
        echo &quot;&lt;td&gt;$label&lt;/td&gt;\n&quot;;
    echo sales_items_list($name, $selected_id, $all_option, $submit_on_change,
        &#039;&#039;, array(&#039;cells&#039;=&gt;true));
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Thu, 12 Jul 2018 12:40:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32186#p32186</guid>
		</item>
	</channel>
</rss>
