<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Problems Displaying QR Code in the footer]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9601&amp;type=atom" />
	<updated>2023-03-19T06:06:32Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9601</id>
		<entry>
			<title type="html"><![CDATA[Re: Problems Displaying QR Code in the footer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42184#p42184" />
			<content type="html"><![CDATA[<p>Its possible&nbsp; with two ways.</p><p>Get the qr code generator as image from php library and generate image and use it inside current tcpdf.</p><p>Or you can update your tcpdf with new version and get it within it.</p><br /><br /><p>We followed the second way for a client.&nbsp; &nbsp;And tcpdf updated version comes with more parameters as well.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2023-03-19T06:06:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42184#p42184</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problems Displaying QR Code in the footer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40750#p40750" />
			<content type="html"><![CDATA[<p>@hananah</p><p>no not yet</p><p>I am waiting</p>]]></content>
			<author>
				<name><![CDATA[aalrashoudi]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41537</uri>
			</author>
			<updated>2022-03-17T16:33:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40750#p40750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problems Displaying QR Code in the footer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40534#p40534" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>kvvaradha wrote:</cite><blockquote><p>Is it for <a href="https://en.wikipedia.org/wiki/Zakat">zakat</a> (religious obligation of almsgiving) or QR code,?</p></blockquote></div><p>Hello , also me want to add QR to Invoice.. <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>did you make it for @aalrashoudi</p>]]></content>
			<author>
				<name><![CDATA[hananah]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41580</uri>
			</author>
			<updated>2022-01-23T16:21:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40534#p40534</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problems Displaying QR Code in the footer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40458#p40458" />
			<content type="html"><![CDATA[<p>Yes its for zakat</p>]]></content>
			<author>
				<name><![CDATA[aalrashoudi]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41537</uri>
			</author>
			<updated>2022-01-09T07:36:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40458#p40458</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problems Displaying QR Code in the footer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40443#p40443" />
			<content type="html"><![CDATA[<p>Is it for <a href="https://en.wikipedia.org/wiki/Zakat">zakat</a> (religious obligation of almsgiving) or QR code,?</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2022-01-05T13:34:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40443#p40443</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problems Displaying QR Code in the footer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40442#p40442" />
			<content type="html"><![CDATA[<p>hi guys</p><p>I want to add QR to invoice report containing some information like <br />company name<br />Invoice No. , date &amp; time stamp<br />VAT no.<br />VAT amount<br />total amount</p><p>can any one&nbsp; do it, contact me</p>]]></content>
			<author>
				<name><![CDATA[aalrashoudi]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41537</uri>
			</author>
			<updated>2022-01-05T09:13:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40442#p40442</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problems Displaying QR Code in the footer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40375#p40375" />
			<content type="html"><![CDATA[<p>Thank you, I ended up getting it working with the base fpdf built in function Image().<br />Now I just need to figure out where to put this thing. Haha it looks weird everywhere! I hate when things are not Symmetrical.</p><div class="codebox"><pre><code>    if (@$this-&gt;formData[&#039;payment_service&#039;])    //payment link
    {
        $amt = number_format($this-&gt;formData[&quot;ov_freight&quot;] + $this-&gt;formData[&quot;ov_gst&quot;] + $this-&gt;formData[&quot;ov_amount&quot;], user_price_dec());
        $service = $this-&gt;formData[&#039;payment_service&#039;];
        $url = payment_link($service, array(
            &#039;company_email&#039; =&gt; $this-&gt;company[&#039;email&#039;],
            &#039;amount&#039; =&gt; $amt,
            &#039;currency&#039; =&gt; $this-&gt;formData[&#039;curr_code&#039;],
            &#039;comment&#039; =&gt; $this-&gt;title . &quot; &quot; . $this-&gt;formData[&#039;reference&#039;],
            &#039;invoice&#039; =&gt; $this-&gt;formData[&#039;reference&#039;]
            ));
        $Footer[_(&quot;You can pay through&quot;). &quot; $service: &quot;] = &quot;$url&quot;;
        QRcode::png($url, $tempDir.&#039;030.png&#039;, QR_ECLEVEL_L, 3);
        $this-&gt;Image($tempDir.&#039;030.png&#039;,35,540);
    }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[trafficpest]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42061</uri>
			</author>
			<updated>2021-12-15T08:27:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40375#p40375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problems Displaying QR Code in the footer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40374#p40374" />
			<content type="html"><![CDATA[<p>May be it&#039;s better to make the image as jpg and than use addimage&nbsp; function to make it display there.</p><p>Or you can update the tcpdf and than use it directly the 2d barcode to get it working</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2021-12-15T07:49:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40374#p40374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Problems Displaying QR Code in the footer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40373#p40373" />
			<content type="html"><![CDATA[<p>I cant display a QR image in the Footer. I tried the $Footer[] array but I seams that It only displays text. I generate the QR from the URL in doctext.inc</p><div class="codebox"><pre><code> 
    if (@$this-&gt;formData[&#039;payment_service&#039;])    //payment link
    {
        $amt = number_format($this-&gt;formData[&quot;ov_freight&quot;] + $this-&gt;formData[&quot;ov_gst&quot;] + $this-&gt;formData[&quot;ov_amount&quot;], user_price_dec());
        $service = $this-&gt;formData[&#039;payment_service&#039;];
        $url = payment_link($service, array(
            &#039;company_email&#039; =&gt; $this-&gt;company[&#039;email&#039;],
            &#039;amount&#039; =&gt; $amt,
            &#039;currency&#039; =&gt; $this-&gt;formData[&#039;curr_code&#039;],
            &#039;comment&#039; =&gt; $this-&gt;title . &quot; &quot; . $this-&gt;formData[&#039;reference&#039;],
            &#039;invoice&#039; =&gt; $this-&gt;formData[&#039;reference&#039;]
            ));
        $Footer[_(&quot;You can pay through&quot;). &quot; $service: &quot;] = &quot;$url&quot;;
        QRcode::png($url, $tempDir.&#039;030.png&#039;, QR_ECLEVEL_L, 3);
    }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[trafficpest]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42061</uri>
			</author>
			<updated>2021-12-15T00:28:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40373#p40373</id>
		</entry>
</feed>
