<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — How to make it Center]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7222&amp;type=atom" />
	<updated>2022-08-30T22:49:02Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7222</id>
		<entry>
			<title type="html"><![CDATA[Re: How to make it Center]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41382#p41382" />
			<content type="html"><![CDATA[<p>Thanks a lot Sir - though this may not be of help to me. The Logo will look well.</p>]]></content>
			<author>
				<name><![CDATA[Jamada]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46809</uri>
			</author>
			<updated>2022-08-30T22:49:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41382#p41382</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to make it Center]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41372#p41372" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2022-08-28T06:47:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41372#p41372</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to make it Center]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41371#p41371" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Jamada]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46809</uri>
			</author>
			<updated>2022-08-27T20:30:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41371#p41371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to make it Center]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30307#p30307" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-12-27T17:17:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30307#p30307</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to make it Center]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30306#p30306" />
			<content type="html"><![CDATA[<p>still not fixed </p><p>in English it is ok but in arabic no</p>]]></content>
			<author>
				<name><![CDATA[realjedd]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42019</uri>
			</author>
			<updated>2017-12-27T12:49:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30306#p30306</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to make it Center]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30303#p30303" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-12-27T12:00:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30303#p30303</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to make it Center]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30297#p30297" />
			<content type="html"><![CDATA[<p>How to make these fields centered in invoice as per attachment?</p><p>https://ibb.co/cVyq9w</p>]]></content>
			<author>
				<name><![CDATA[realjedd]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42019</uri>
			</author>
			<updated>2017-12-27T05:46:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30297#p30297</id>
		</entry>
</feed>
