<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — FA Modifications]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;fid=36&amp;type=atom" />
	<updated>2023-12-08T05:34:10Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/index.php</id>
		<entry>
			<title type="html"><![CDATA[Error Handler not working for php 8.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10432&amp;action=new" />
			<summary type="html"><![CDATA[<p>When we even turn on the go_debug 2. that doesnt get the mysql errors like 1062 duplicate entry, 1054 column not found errors are not showing the query which get this error.&nbsp; But in php 8.0 it works fine. </p><p>We need to update the error handler or fix it work based on php 8.2</p>]]></summary>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2023-12-08T05:34:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10432&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Can we use the set_icon function in db_pager_view.inc as well]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10416&amp;action=new" />
			<summary type="html"><![CDATA[<p>from db_pager_view.inc file, we have a function <strong> navi_button</strong> which actually passes the img tag to get icons like this. </p><div class="codebox"><pre><code>function navi_button($name, $value, $enabled=true, $icon = false) {
    global $path_to_root;
      return &quot;&lt;button &quot;. ($enabled ? &#039;&#039;:&#039;disabled&#039;)
          .&quot; class=\&quot;navibutton \&quot; type=\&quot;submit\&quot;&quot;
        .&quot; name=\&quot;$name\&quot;  id=\&quot;$name\&quot; value=\&quot;$value\&quot;&gt;&quot;
          .($icon ? &quot;&lt;img src=&#039;$path_to_root/themes/&quot;.user_theme().&quot;/images/&quot;.$icon.&quot;&#039;&gt;&quot;:&#039;&#039;)
        .&quot;&lt;span&gt;$value&lt;/span&gt;&lt;/button&gt;\n&quot;;
}</code></pre></div><p>Change it to like this. </p><div class="codebox"><pre><code>function navi_button($name, $value, $enabled=true, $icon = false) {
    global $path_to_root;
      return &quot;&lt;button &quot;. ($enabled ? &#039;&#039;:&#039;disabled&#039;)
          .&quot; class=\&quot;navibutton \&quot; type=\&quot;submit\&quot;&quot;
        .&quot; name=\&quot;$name\&quot;  id=\&quot;$name\&quot; value=\&quot;$value\&quot;&gt;&quot;
          .($icon ? set_icon($icon):&#039;&#039;)
        .&quot;&lt;span&gt;$value&lt;/span&gt;&lt;/button&gt;\n&quot;;
}</code></pre></div>]]></summary>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2023-11-19T09:30:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10416&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Adding delivery-date for each item in sales-invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10394&amp;action=new" />
			<summary type="html"><![CDATA[<p>Hi,</p><p>I want the &#039;delivery date&#039; for each item in salesinvoice ((new) column &#039;Date&#039; (&#039;tran_date&#039; of delivery)).&nbsp; I know I have to change the function &#039;get_customer_trans_details&#039; in &#039;/sales/includes/db/cust_trans_details_db.inc&#039;, but how to select the &#039;tran_date&#039; of the delivery in the sql-syntax ?</p><p>This is the function :</p><div class="quotebox"><blockquote><p>function get_customer_trans_details($debtor_trans_type, $debtor_trans_no)<br />{<br />if (!is_array($debtor_trans_no))<br />&nbsp; &nbsp; $debtor_trans_no = array( 0=&gt;$debtor_trans_no );</p><p>&nbsp; &nbsp; $sql = &quot;SELECT line.*,<br />&nbsp; &nbsp; &nbsp; &nbsp; line.unit_price+line.unit_tax AS FullUnitPrice,<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; line.unit_price AS UnitPriceExTax,&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; line.description AS StockDescription,<br />&nbsp; &nbsp; &nbsp; &nbsp; item.long_description AS StockLongDescription,<br />&nbsp; &nbsp; &nbsp; &nbsp; item.units, item.mb_flag<br />&nbsp; &nbsp; &nbsp; &nbsp; FROM &quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .TB_PREF.&quot;debtor_trans_details line,&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .TB_PREF.&quot;stock_master item<br />&nbsp; &nbsp; &nbsp; &nbsp; WHERE (&quot;;</p><p>&nbsp; &nbsp; $tr=array();<br />&nbsp; &nbsp; foreach ($debtor_trans_no as $trans_no)<br />&nbsp; &nbsp; &nbsp; &nbsp; $tr[] = &#039;debtor_trans_no=&#039;.db_escape($trans_no);</p><p>&nbsp; &nbsp; $sql .= implode(&#039; OR &#039;, $tr);</p><br /><p>&nbsp; &nbsp; $sql.=&nbsp; &nbsp; &quot;) AND debtor_trans_type=&quot;.db_escape($debtor_trans_type).&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; AND item.stock_id=line.stock_id<br />&nbsp; &nbsp; &nbsp; &nbsp; ORDER BY id&quot;;<br />&nbsp; &nbsp; return db_query($sql, &quot;The debtor transaction detail could not be queried&quot;);<br />}</p></blockquote></div><p>Thanks,</p><p>F.</p>]]></summary>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2023-10-28T09:08:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10394&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[2 unused function in types.inc]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10372&amp;action=new" />
			<summary type="html"><![CDATA[<p>As i can see two functions inside types.inc which is never wused inside our FA program.&nbsp; </p><div class="codebox"><pre><code>payment_person_currency
payment_person_has_items</code></pre></div><p><a href="https://github.com/FrontAccountingERP/FA/blob/master/includes/types.inc">includes/types.inc </a></p><p>@joe, is these functions used anywhere or any future plan with this.</p>]]></summary>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2023-09-14T16:43:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10372&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How can i get Each invoice status like paid, unpaid, overdue, etc ?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10359&amp;action=new" />
			<summary type="html"><![CDATA[<p>As of now, only the overdue has the status of red color highlight.&nbsp; But is there any solution to put each transaction status in the Customer Transaction Inquiry?</p>]]></summary>
			<author>
				<name><![CDATA[Mizanur Rahman]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=47450</uri>
			</author>
			<updated>2023-08-27T10:00:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10359&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[XUMM Payment Link in Customer Invoice Printing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10319&amp;action=new" />
			<summary type="html"><![CDATA[<p>I&#039;ve created a pull request for the <a href="https://xumm.app/">Xumm payment link</a> to be added to be committed to the main repository on GitHub. </p><p>I&#039;m no coder but the proposed works fine. I would appreciate if it could be reviewed, checked and confirmed ok, to be committed. </p><p>Not sure if the process to update documentation to explain process. </p><p>Would like to look at exporting supplier payment file next, has anyone done any work in that regard?</p><p>Thanks.</p>]]></summary>
			<author>
				<name><![CDATA[lp]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46619</uri>
			</author>
			<updated>2023-07-05T03:58:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10319&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Wanna add Signature Option on Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10298&amp;action=new" />
			<summary type="html"><![CDATA[<p>I wanna add Customer and Company Signature Option on Invoice. So that I can sign after printing the invoice. Please Help me, How Can I do that?</p>]]></summary>
			<author>
				<name><![CDATA[aungsu.mostafiz]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=47334</uri>
			</author>
			<updated>2023-06-10T06:57:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10298&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Emailed reports only use last name]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10255&amp;action=new" />
			<summary type="html"><![CDATA[<p>I found this thread from 2014 but didn&#039;t have permission to reply:</p><p>https://frontaccounting.com/punbb/viewtopic.php?id=5254</p><p>The issue they bring up is that reports emailed from FA start with &quot;Dear&quot; and then the person&#039;s last name, with no title or first name.</p><p>I just wanted to say that I agree with the OP in the thread that &quot;Dear First Last&quot; is much better than simply &quot;Dear Last&quot;. In the UK the current arrangement would be a very strange way to start an email or letter. I also agree that &quot;Dear Title Last&quot; is even better in a formal setting.</p><p>I have modified my own installation but wondered if it&#039;s worth making it default that way.</p><p>Is it usual in other parts of the world to start a letter &quot;Dear Last&quot;?</p>]]></summary>
			<author>
				<name><![CDATA[doug86]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=44349</uri>
			</author>
			<updated>2023-03-31T11:28:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10255&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Posting payments automatically]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10228&amp;action=new" />
			<summary type="html"><![CDATA[<p>I&#039;ve used REST API to post sales, however, it only creates direct invoices which needs to be paid for and allocated, has anyone ever achieved this.</p><p>Thanks.</p>]]></summary>
			<author>
				<name><![CDATA[lawmaina78]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14031</uri>
			</author>
			<updated>2023-03-19T06:25:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10228&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[PHP 8.1 onwards db_set_charset needs second parameter]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10206&amp;action=new" />
			<summary type="html"><![CDATA[<p>While activating an extension from php 8.1 onwards, we have an issue with </p><p>mysqli_set_charset second parameter cant be null,&nbsp; This happens from db_import function from maintenance_db.inc</p><div class="codebox"><pre><code>$encoding = null; // UI encoding for default site language is the default</code></pre></div><p>With<br /></p><div class="codebox"><pre><code>$encoding =&#039;utf8&#039;; // UI encoding for default site language is the default</code></pre></div><p>Or a valid $encoding needs to be passed here.</p>]]></summary>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2023-02-24T06:31:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10206&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Opening Year - 2017]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10166&amp;action=new" />
			<summary type="html"><![CDATA[<p>Upon setting up a new company, one is defaulted to 2017.&nbsp; This should be updated to at least 2021.&nbsp; Can I get an Amen?&nbsp; Thank you.</p>]]></summary>
			<author>
				<name><![CDATA[MacKenzie]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45867</uri>
			</author>
			<updated>2023-01-29T14:48:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10166&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[No backup of attachments of a company]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10138&amp;action=new" />
			<summary type="html"><![CDATA[<p>Hi,</p><p>The backup-functionality only makes a backup of the database-data.</p><p>Is it possible to download the (renamed) attachments of a company from the FA-application, perhaps in a zip-file called [date]_[companynumber]_backup_attachments.zip ?&nbsp; Can it be made possible ?</p><p>Thanks,</p><p>F.</p>]]></summary>
			<author>
				<name><![CDATA[advocaat.pollet]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46170</uri>
			</author>
			<updated>2022-12-27T22:45:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10138&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bank Reconciliation and Reports Header]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10133&amp;action=new" />
			<summary type="html"><![CDATA[<p>Hello.....</p><p>As a contribution for user of this forum:</p><p>1-For Bank Reconciliation at specific date insert this code&nbsp; in line 286</p><div class="codebox"><pre><code>        AND amount != 0 AND trans_date &lt;= &#039;&quot;. date2sql($date) .&quot;&#039;</code></pre></div><p>in this file <strong>gl/includes/db/gl_db_bank_accounts.inc</strong></p><p>2-To show the header of each company, so reports will be asociated to the company info, insert this code:</p><div class="codebox"><pre><code>//Display Header
start_table(TABLESTYLE, &quot;width=&#039;90%&#039;&quot;);
    $company = get_company_prefs();    
    start_row();
   echo &#039;&lt;td colspan = &quot;6&quot; &gt; &lt;center&gt; &lt;img src=&quot;&#039;.company_path().&#039;/images/&#039;.$company[&#039;coy_logo&#039;].&#039;&quot; &gt; &lt;/center&gt;&lt;/td&gt; &#039;;
    end_row();
end_table();
br(2);
//Display Header    </code></pre></div><p>At the beginning of</p><p>&nbsp; a)-GL reports:<br /></p><div class="codebox"><pre><code>/gl/view/deposit
/gl/view/payment
/gl/view/transaction
/gl/view/transference</code></pre></div><p>&nbsp; b)-Sales reports:<br /></p><div class="codebox"><pre><code>/sales/view/view_receipt.php
/sales/view/view_invoice.php</code></pre></div><p>&nbsp; c)-Purchase reports:<br /></p><div class="codebox"><pre><code>/purchasing/view/view_po    
/purchasing/view/view_supp_payment 
/purchasing/view/view_supp_invoice.php
/includes/ui/ ui_view.inc</code></pre></div><p>It would be great if the FA team include this improvements in next upgrade.</p><p>Regards...</p><p>Rafael</p>]]></summary>
			<author>
				<name><![CDATA[Rmendez]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=40570</uri>
			</author>
			<updated>2022-12-23T21:32:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10133&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[location transfers with standard cost]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=10037&amp;action=new" />
			<summary type="html"><![CDATA[<p>the standard cost of item from one location to another are not visible.<br />Except po is done for that item in that location.<br />Is there a way to fix this?</p>]]></summary>
			<author>
				<name><![CDATA[b.popoola]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46853</uri>
			</author>
			<updated>2022-10-19T14:01:07Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=10037&amp;action=new</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Table paging for data not from SQL]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?id=9981&amp;action=new" />
			<summary type="html"><![CDATA[<p>Hi,</p><p>I am aware of db_pager functionality. Now I need to make a table with paging functionality from already queried data.<br />Is there any way to do this?</p>]]></summary>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2022-09-24T02:19:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?id=9981&amp;action=new</id>
		</entry>
</feed>
