<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — How do i add clickable link for table cell?]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8044</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8044&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How do i add clickable link for table cell?.]]></description>
		<lastBuildDate>Fri, 15 Mar 2019 06:06:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How do i add clickable link for table cell?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34478#p34478</link>
			<description><![CDATA[<p>function budget_amount_cells1($id, $parms=&#039;&#039;)<br />{<br />&nbsp; &nbsp; global $path_to_root;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; label_cell( <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;a target=&#039;_blank&#039; &quot; . ($bank_acc&lt;0 ? &#039;class=&quot;redfg&quot;&#039; : &#039;&#039;)<br />&nbsp; &nbsp; &nbsp; &nbsp; .&quot;href=&#039;&#039;$path_to_root/purchasing/inquiry/&quot;budget_detail_entry.php?id=&quot;.$id.&quot;&#039;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; .&quot; onclick=\&quot;javascript:openWindow(this.href,this.target); return false;\&quot; &gt;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; . price_format($id)<br />&nbsp; &nbsp; &nbsp; &nbsp; .&quot;&lt;/a&gt;&quot;, $parms);<br />}</p><p>how do i make this function point into budget id instead of amount id ? keep pointing into amount id</p>]]></description>
			<author><![CDATA[null@example.com (ryanayao)]]></author>
			<pubDate>Fri, 15 Mar 2019 06:06:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34478#p34478</guid>
		</item>
		<item>
			<title><![CDATA[Re: How do i add clickable link for table cell?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34460#p34460</link>
			<description><![CDATA[<p>How do I make table cell amount into clickable link already click it but it won&#039;t point id in the database?</p>]]></description>
			<author><![CDATA[null@example.com (ryanayao)]]></author>
			<pubDate>Thu, 14 Mar 2019 05:53:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34460#p34460</guid>
		</item>
		<item>
			<title><![CDATA[Re: How do i add clickable link for table cell?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34459#p34459</link>
			<description><![CDATA[<p>function budget_amount_cells1($id, $parms=&#039;&#039;)<br />{<br />&nbsp; &nbsp; global $path_to_root;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; label_cell( <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;&lt;a target=&#039;_blank&#039; &quot; . ($bank_acc&lt;0 ? &#039;class=&quot;redfg&quot;&#039; : &#039;&#039;)<br />&nbsp; &nbsp; &nbsp; &nbsp; .&quot;href=&#039;&#039;$path_to_root/purchasing/inquiry/&quot;budget_detail_entry.php?id=&quot;.$id.&quot;&#039;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; .&quot; onclick=\&quot;javascript:openWindow(this.href,this.target); return false;\&quot; &gt;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; . price_format($id)<br />&nbsp; &nbsp; &nbsp; &nbsp; .&quot;&lt;/a&gt;&quot;, $parms);<br />}</p><p>already created function so it would direct link to my database but my problem now keep redirecting to supplier_inquiry page how do i change to my budget_detail_entry.php</p>]]></description>
			<author><![CDATA[null@example.com (ryanayao)]]></author>
			<pubDate>Thu, 14 Mar 2019 01:23:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34459#p34459</guid>
		</item>
		<item>
			<title><![CDATA[Re: How do i add clickable link for table cell?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34456#p34456</link>
			<description><![CDATA[<p>what do i do with this function to enabled or add hyperlink </p><p>function label_cell($label, $params=&quot;&quot;, $id=null)<br />{<br />&nbsp; &nbsp; global $Ajax;</p><p>&nbsp; &nbsp; if(isset($id))<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$params .= &quot; id=&#039;$id&#039;&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$Ajax-&gt;addUpdate($id, $id, $label);<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; echo &quot;&lt;td $params&gt;$label&lt;/td&gt;\n&quot;;</p><br /><p>&nbsp; &nbsp; return $label;<br />}</p>]]></description>
			<author><![CDATA[null@example.com (ryanayao)]]></author>
			<pubDate>Wed, 13 Mar 2019 08:02:47 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34456#p34456</guid>
		</item>
		<item>
			<title><![CDATA[Re: How do i add clickable link for table cell?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34455#p34455</link>
			<description><![CDATA[<p>if ($showdims)<br />&nbsp; &nbsp; &nbsp; &nbsp; $th = array(_(&quot;Period&quot;), _(&quot;Amount&quot;) =&gt; array(&#039;fun&#039;=&gt;&#039;trans_view&#039;, &#039;ord&#039;=&gt;&#039;&#039;, &#039;align&#039;=&gt;&#039;right&#039;), _(&quot;Dim. incl.&quot;), _(&quot;Last Year&quot;));<br />&nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; $th = array(_(&quot;Period&quot;), _(&quot;Amount&quot;) =&gt; array(&#039;fun&#039;=&gt;&#039;trans_view&#039;, &#039;ord&#039;=&gt;&#039;&#039;, &#039;align&#039;=&gt;&#039;right&#039;),&nbsp; _(&quot;Last Year&quot;));</p><p>already add the link to direct&nbsp; to the database now&nbsp; what did i do wrong ? </p><p>Array to string conversion in file: C:\xampp\htdocs\erp\includes\ui\ui_input.inc at line 421 when i tried to add this lines&nbsp; &nbsp;=&gt; array(&#039;fun&#039;=&gt;&#039;trans_view&#039;, &#039;ord&#039;=&gt;&#039;&#039;, &#039;align&#039;=&gt;&#039;right&#039;),</p>]]></description>
			<author><![CDATA[null@example.com (ryanayao)]]></author>
			<pubDate>Wed, 13 Mar 2019 06:41:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34455#p34455</guid>
		</item>
		<item>
			<title><![CDATA[How do i add clickable link for table cell?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34444#p34444</link>
			<description><![CDATA[<p>im trying to add gl_budget.php from table column Amount into a clickable link how do it ?</p><br /><p>gl.budget.php<br />label_cell(number_format2($d, 0), &quot;nowrap align=right&quot;,get_budget_view_str($myrow[&quot;id&quot;]));</p><p>ui.view code </p><p>function get_budget_view_str($type, $trans_no, $label=&quot;&quot;, $force=false, $class=&#039;&#039;, $id=&#039;&#039;)<br />{<br />&nbsp; &nbsp; if (!$force &amp;&amp; !user_show_gl_info())<br />&nbsp; &nbsp; &nbsp; &nbsp; return &quot;&quot;;</p><p>&nbsp; &nbsp; $icon = false;<br />&nbsp; &nbsp; if ($label == &quot;&quot;)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; $label = _(&quot;GL&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; $icon = ICON_GL;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; $url = ($type == ST_WORKORDER) ? &quot;manufacturing/view/wo_costs_view.php?trans_no=$trans_no&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; : &quot;gl/view/gl_budget_view.php?type_id=$type&amp;trans_no=$trans_no&quot;;</p><p>&nbsp; &nbsp; return viewer_link($label, $url, $class, $id, $icon);<br />}</p><br /><br /><p>&lt;a href=&quot;https://ibb.co/pKq6ST1&quot;&gt;&lt;img src=&quot;https://i.ibb.co/pKq6ST1/67.png&quot; alt=&quot;67&quot; border=&quot;0&quot;&gt;&lt;/a&gt;</p>]]></description>
			<author><![CDATA[null@example.com (ryanayao)]]></author>
			<pubDate>Tue, 12 Mar 2019 03:31:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34444#p34444</guid>
		</item>
	</channel>
</rss>
