<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — following the wiki Field Non Editable]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8043</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8043&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in following the wiki Field Non Editable.]]></description>
		<lastBuildDate>Mon, 11 Mar 2019 05:23:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[following the wiki Field Non Editable]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34442#p34442</link>
			<description><![CDATA[<p>trying to make banking and general ledger from budget entry&nbsp; <br />gl_budget.php im trying to make amount not editable i already followed the step on wiki but still it won&#039;t work and editable, what did i do wrong?. im trying to make gl_budget.php amount cell into hyperlink just like po_search_completed ?</p><p>function amount_cells_ex($label, $name, $size, $max=null, $init=null, $params=null, $post_label=null, $dec=null, $readonly=false)<br />{<br />&nbsp; &nbsp; global $Ajax;</p><p>&nbsp; &nbsp; if (!isset($dec))<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; $dec = user_price_dec();<br />&nbsp; &nbsp; if (!isset($_POST[$name]) || $_POST[$name] == &quot;&quot;)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; if ($init !== null)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $_POST[$name] = $init;<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $_POST[$name] = &#039;&#039;;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; if ($label != null)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; if ($params == null)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $params = &quot;class=&#039;label&#039;&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; label_cell($label, $params);<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; if (!isset($max))<br />&nbsp; &nbsp; &nbsp; &nbsp; $max = $size;</p><p>&nbsp; &nbsp; if ($label != null)<br />&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;td&gt;&quot;;<br />&nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;td align=&#039;right&#039;&gt;&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; </p><p>&nbsp; &nbsp; $readonly = ($readonly) ? &#039;readonly&#039; : &#039;&#039;;<br />&nbsp; &nbsp; echo &quot;&lt;input $readonly class=&#039;amount&#039; type=\&quot;text\&quot; name=\&quot;$name\&quot; size=\&quot;$size\&quot; maxlength=\&quot;$max\&quot; dec=\&quot;$dec\&quot; value=\&quot;&quot; . $_POST[$name]. &quot;\&quot;&gt;&quot;;</p><p>&nbsp; &nbsp; if ($post_label) {<br />&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;span id=&#039;_{$name}_label&#039;&gt; $post_label&lt;/span&gt;&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; $Ajax-&gt;addUpdate($name, &#039;_&#039;.$name.&#039;_label&#039;, $post_label);<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; echo &quot;&lt;/td&gt;\n&quot;;<br />&nbsp; &nbsp; $Ajax-&gt;addUpdate($name, $name, $_POST[$name]);<br />&nbsp; &nbsp; $Ajax-&gt;addAssign($name, $name, &#039;dec&#039;, $dec);<br />}</p><br /><p>function amount_cells($label, $name, $init=null, $params=null, $post_label=null, $dec=null, $readonly=false)<br />{<br />&nbsp; &nbsp; amount_cells_ex($label, $name, 15, 15, $init, $params, $post_label, $dec, $readonly);<br />}</p><br /><p>amount_cells(null, &#039;amount&#039;.$i, null, 15, null, 0, true); ------&gt; how do i make this cell into hyperlink so when they click redirect or pop up new page?.</p>]]></description>
			<author><![CDATA[null@example.com (kalmav1)]]></author>
			<pubDate>Mon, 11 Mar 2019 05:23:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34442#p34442</guid>
		</item>
	</channel>
</rss>
