<?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 to make it Center]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7222</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7222&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to make it Center.]]></description>
		<lastBuildDate>Tue, 30 Aug 2022 22:49:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to make it Center]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41382#p41382</link>
			<description><![CDATA[<p>Thanks a lot Sir - though this may not be of help to me. The Logo will look well.</p>]]></description>
			<author><![CDATA[null@example.com (Jamada)]]></author>
			<pubDate>Tue, 30 Aug 2022 22:49:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41382#p41382</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to make it Center]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41372#p41372</link>
			<description><![CDATA[<p>Its better you can have this complete header on the top of your invoice. Which will give you better look. </p><p>Upload this image jpg to company/0/images/pdfheader.jpg</p><p>And refer header2.inc to addimage which will have x and y.&nbsp; And h and w. Use change that coordinates and make it aligned to fit to your invoice.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Sun, 28 Aug 2022 06:47:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41372#p41372</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to make it Center]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41371#p41371</link>
			<description><![CDATA[<p>Good Day Sir&nbsp; @apmuthu</p><p>Great thanks for all the assistance and support you give to the various people. I kindly request for your assistance how to align the Logo on Left and Company Address in Center. Such that they are all on the same line.</p><p>See Example: https://prnt.sc/J6uwpHS3rXI1</p><p>Your prompt assistance is highly appreciated.</p><p>Stay Safe!</p>]]></description>
			<author><![CDATA[null@example.com (Jamada)]]></author>
			<pubDate>Sat, 27 Aug 2022 20:30:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41371#p41371</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to make it Center]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30307#p30307</link>
			<description><![CDATA[<p>Refer any report where you find a centered field and provide screenshot. We can then trace what works for alignment in Arabic.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 27 Dec 2017 17:17:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30307#p30307</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to make it Center]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30306#p30306</link>
			<description><![CDATA[<p>still not fixed </p><p>in English it is ok but in arabic no</p>]]></description>
			<author><![CDATA[null@example.com (realjedd)]]></author>
			<pubDate>Wed, 27 Dec 2017 12:49:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30306#p30306</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to make it Center]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30303#p30303</link>
			<description><![CDATA[<p>If you center the amounts in the body of the invoice, they will not align correctly for the decimal places. But if you still want it, then amke line 61 of <strong>reporting/rep107.php</strong>:<br /></p><div class="codebox"><pre><code>    $aligns = array(&#039;left&#039;,    &#039;left&#039;,    &#039;right&#039;, &#039;center&#039;, &#039;right&#039;, &#039;right&#039;, &#039;right&#039;);</code></pre></div><p>to be:<br /></p><div class="codebox"><pre><code>    $aligns = array(&#039;left&#039;,    &#039;left&#039;,    &#039;right&#039;, &#039;center&#039;, &#039;right&#039;, &#039;right&#039;, &#039;center&#039;);</code></pre></div><p>The top summary table has it&#039;s elements already center aligned in the English version - see attachment. The values in it are populated in the <em>$aux_info</em> array in <strong>reporting/includes/doctext.inc</strong> file.</p><p>The file <strong>reporting/includes/header2.inc</strong> that the invoice report uses aligns the values in it&#039;s lines 167-175 (&#039;C&#039;):<br /></p><div class="codebox"><pre><code>        foreach($aux_info as $info_header =&gt; $info_content)
        {

            $this-&gt;row = $iline2 - $this-&gt;lineHeight - 1;
            $this-&gt;TextWrap($col, $this-&gt;row, $width, $info_header, &#039;C&#039;);
            $this-&gt;row = $iline3 - $this-&gt;lineHeight - 1;
            $this-&gt;TextWrap($col, $this-&gt;row, $width, $info_content, &#039;C&#039;);
            $col += $width;
        }</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 27 Dec 2017 12:00:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30303#p30303</guid>
		</item>
		<item>
			<title><![CDATA[How to make it Center]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30297#p30297</link>
			<description><![CDATA[<p>How to make these fields centered in invoice as per attachment?</p><p>https://ibb.co/cVyq9w</p>]]></description>
			<author><![CDATA[null@example.com (realjedd)]]></author>
			<pubDate>Wed, 27 Dec 2017 05:46:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30297#p30297</guid>
		</item>
	</channel>
</rss>
