<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Repeating line items block inside single invoice page]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7172&amp;type=atom" />
	<updated>2017-12-09T02:09:24Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7172</id>
		<entry>
			<title type="html"><![CDATA[Re: Repeating line items block inside single invoice page]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29892#p29892" />
			<content type="html"><![CDATA[<p>Stands corrected:<br />Line 146 in <strong>reporting/rep107.php</strong>:<br /></p><div class="codebox"><pre><code>               $result = get_customer_trans_details(ST_SALESINVOICE, $row[&#039;trans_no&#039;]);</code></pre></div><p>gets the line items from the function (defined in <strong>sales/includes/db/cust_trans_details_db.inc</strong>) used above like:<br /></p><div class="codebox"><pre><code>SELECT line.*,
       line.unit_price+line.unit_tax AS FullUnitPrice,
       line.description AS StockDescription,
       item.units, item.mb_flag
FROM 1_debtor_trans_details line,1_stock_master item
WHERE (
       (debtor_trans_no=1) -- 1st Transaction in Demo Co
       AND debtor_trans_type=10 -- ST_SALESINVOICE
       AND item.stock_id=line.stock_id
)
ORDER BY id</code></pre></div><p>This result having the invoice&#039;s line items are cycled through from lines 148 to 181 in <strong>reporting/rep107.php</strong>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-12-09T02:09:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29892#p29892</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Repeating line items block inside single invoice page]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29888#p29888" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Lines 344 onwards in <strong>reporting/rep107.php</strong> cycle through the line items which is what you need to put into some javascripted set of tabs.</p></blockquote></div><p>Did u mean L144?</p><p>Also it is pdf invoice which I am referring to.</p>]]></content>
			<author>
				<name><![CDATA[zi]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42011</uri>
			</author>
			<updated>2017-12-08T17:44:53Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29888#p29888</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Repeating line items block inside single invoice page]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29885#p29885" />
			<content type="html"><![CDATA[<p>may be the query has duplicates, try to run the query separately on direct phpmyadmin or mysql workbench to check the results.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2017-12-08T12:40:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29885#p29885</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Repeating line items block inside single invoice page]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29882#p29882" />
			<content type="html"><![CDATA[<p>Lines <s>344 onwards</s> in <strong>reporting/rep107.php</strong> cycle through the line items which is what you need to put into some javascripted set of tabs.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-12-07T09:28:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29882#p29882</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Repeating line items block inside single invoice page]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29880#p29880" />
			<content type="html"><![CDATA[<p>I am trying to print invoice as multiple leaves on single page, I am able to create a block by hit and trial already, but it seems I can&#039;t find out how to control/duplicate the line items into 2nd and 3rd block.</p><p><a href="https://monosnap.com/file/ibnktD6fedx1Hn81SqRvhylnWhUMbP">https://monosnap.com/file/ibnktD6fedx1H … hylnWhUMbP</a></p><p>Can some one point me in right direction?</p>]]></content>
			<author>
				<name><![CDATA[zi]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42011</uri>
			</author>
			<updated>2017-12-07T05:12:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29880#p29880</id>
		</entry>
</feed>
