<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Payroll extension for practice]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6623</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6623&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Payroll extension for practice.]]></description>
		<lastBuildDate>Wed, 14 Aug 2019 17:43:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35671#p35671</link>
			<description><![CDATA[<p>Problem solved. Thank you</p>]]></description>
			<author><![CDATA[null@example.com (Isatoyin2)]]></author>
			<pubDate>Wed, 14 Aug 2019 17:43:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35671#p35671</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35670#p35670</link>
			<description><![CDATA[<p>The error message pointed out how to solve your problem<br /></p><div class="quotebox"><blockquote><p>SQL script execution failed in line 2: Erreur de syntaxe près de &#039;) ENGINE=InnoDB&#039; à la ligne 19</p></blockquote></div><p>Please remove the last comma in the SQL script</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Wed, 14 Aug 2019 16:54:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35670#p35670</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35668#p35668</link>
			<description><![CDATA[<p>Hello all esteem members.</p><p>Following the steps on this topic, I have been a able to write and install a module. But when I add update.sql file, I got this errors while re-installing the module again: </p><p>(SQL script execution failed in line 2: Erreur de syntaxe près de &#039;) ENGINE=InnoDB&#039; à la ligne 19)<br />(Status change for some extensions failed.)</p><p>I was able to re-install when I commented out as follow:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;function activate_extension($company, $check_only=true) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; global $db_connections;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // $updates = array( &#039;update.sql&#039; =&gt; array(&#039;sharehold&#039;));</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return $this-&gt;update_databases($company, $updates, $check_only);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p><p>-------------------------------------update.sql---------------------</p><p>DROP TABLE IF EXISTS `0_shareholder`;<br />CREATE TABLE IF NOT EXISTS `0_shareholder` (<br />&nbsp; &nbsp; `shd_id` int(11) NOT NULL AUTO_INCREMENT,<br />&nbsp; &nbsp; `shd_first_name` varchar(100) DEFAULT NULL,<br />&nbsp; &nbsp; `shd_last_name` varchar(100) DEFAULT NULL,<br />&nbsp; &nbsp; `gender` tinyint(1) NOT NULL DEFAULT &#039;0&#039;,<br />&nbsp; &nbsp; `shd_address` tinytext,<br />&nbsp; &nbsp; `shd_mobile` varchar(30) DEFAULT NULL,<br />&nbsp; &nbsp; `shd_email` varchar(100) DEFAULT NULL,<br />&nbsp; &nbsp; `shd_birthdate` date NOT NULL,<br />&nbsp; &nbsp; `national_id` varchar(100) DEFAULT NULL,<br />&nbsp; &nbsp; `passport` varchar(100) DEFAULT NULL,<br />&nbsp; &nbsp; `bank_account` varchar(100) DEFAULT NULL,<br />&nbsp; &nbsp; `tax_number` varchar(100) DEFAULT NULL,<br />&nbsp; &nbsp; `shd_notes` tinytext NOT NULL,<br />&nbsp; &nbsp; `shd_hiredate` date DEFAULT NULL,<br />&nbsp; &nbsp; `shd_releasedate` date DEFAULT NULL,<br />&nbsp; &nbsp; `inactive` tinyint(1) NOT NULL DEFAULT &#039;0&#039;,<br />&nbsp; &nbsp; PRIMARY KEY (`shd_id`),<br />) ENGINE=InnoDB;</p><p>-----------------------------------------------------------------------</p><p>Please help</p>]]></description>
			<author><![CDATA[null@example.com (Isatoyin2)]]></author>
			<pubDate>Wed, 14 Aug 2019 15:27:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35668#p35668</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28285#p28285</link>
			<description><![CDATA[<p>Good work</p>]]></description>
			<author><![CDATA[null@example.com (birender)]]></author>
			<pubDate>Thu, 27 Jul 2017 15:20:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28285#p28285</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28024#p28024</link>
			<description><![CDATA[<p>Reorganized few places in the code and added printable payslip.</p><p><a href="https://drive.google.com/open?id=0B0fCA4EqIzwDTlBZNWFSRmRXWTg">DOWNLOAD</a></p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Sat, 17 Jun 2017 11:12:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28024#p28024</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27669#p27669</link>
			<description><![CDATA[<p>Ajmal, try to rename folder to <span style="color: blue">payroll</span> instead of <span style="color: blue">Payroll</span></p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Tue, 04 Apr 2017 13:59:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27669#p27669</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27668#p27668</link>
			<description><![CDATA[<p>an error is shown as &quot; modules/payroll/employee.php was not found on this server&quot; <br />all is uploaded, and already in the server.<br />your guidance is appreciated...</p>]]></description>
			<author><![CDATA[null@example.com (Ajmal)]]></author>
			<pubDate>Tue, 04 Apr 2017 10:59:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27668#p27668</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27637#p27637</link>
			<description><![CDATA[<p>Check if the attachment is okay and matches your current repo state.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 26 Mar 2017 07:55:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27637#p27637</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27634#p27634</link>
			<description><![CDATA[<p>Fixed issue of attendance sheet display. Replace line 61 of inquiry/attendance_sheet.php with:</p><p><span style="color: blue">$cols[&quot;&lt;div style=&#039;background:#FFCCCC&#039;&gt;&quot;.$day-&gt;format(&#039;d&#039;).&quot;&lt;/div&gt;&lt;p hidden&gt;&quot;.$day-&gt;format(&#039;m&#039;).&quot;&lt;/p&gt;&quot;] = array(&#039;align&#039;=&gt;&#039;center&#039;);</span></p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Sun, 26 Mar 2017 02:23:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27634#p27634</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27526#p27526</link>
			<description><![CDATA[<p>Thats great I will test it and will respond.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Wed, 15 Feb 2017 06:57:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27526#p27526</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27502#p27502</link>
			<description><![CDATA[<p>Added time attendance feature and mod payslip calculation based on timesheet <a href="https://drive.google.com/open?id=0B0fCA4EqIzwDOFFzTXBrbTFGUGs"> DOWNLOAD </a></p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Fri, 10 Feb 2017 07:00:43 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27502#p27502</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27485#p27485</link>
			<description><![CDATA[<p>The file <strong>includes/packages.inc</strong> defines the <em>function <strong>check_src_ext_version()</strong></em> and returns tru only if the package version &gt;= application version. Here the latter is the FA version defined in line 9 of <strong>version.php</strong> as <em>$src_version = &quot;2.4.RC1&quot;;</em> and the former is the Payroll Module version. As your module is not packaged, there is no version number displayed in it&#039;s entry in installed_extensions.php file both in the webroot and in the company/#/ folder where you can manually make an entry for the version.</p><p>@joe: If no <em>version</em> is present like this for manually installed custom modules, the line 215 in <strong>admin/inst_modules.php</strong>:<br /></p><div class="codebox"><pre><code>            if (check_value(&#039;Active&#039;.$i) &amp;&amp; !check_src_ext_version($ext[&#039;version&#039;]))</code></pre></div><p>can be modified to check the latter condition only if the <strong>$ext[&#039;version&#039;]</strong> is not empty.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 05 Feb 2017 11:06:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27485#p27485</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27480#p27480</link>
			<description><![CDATA[<div class="quotebox"><cite>boxygen wrote:</cite><blockquote><p>By the way while installing with 2.4RC1 I am receiving following error.</p><p>Package &#039;Payroll&#039; is incompatible with current application version and cannot be activated. Check Install/Activate page for newer package version.</p><p>With 2.3.25 it installed successfully but had problem in accessing pages.</p></blockquote></div><p>This solved on post #4</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Sat, 04 Feb 2017 14:08:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27480#p27480</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27472#p27472</link>
			<description><![CDATA[<p>By the way while installing with 2.4RC1 I am receiving following error.</p><p>Package &#039;Payroll&#039; is incompatible with current application version and cannot be activated. Check Install/Activate page for newer package version.</p><p>With 2.3.25 it installed successfully but had problem in accessing pages.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Fri, 03 Feb 2017 16:49:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27472#p27472</guid>
		</item>
		<item>
			<title><![CDATA[Re: Payroll extension for practice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27470#p27470</link>
			<description><![CDATA[<p>Oh yes I installed with 2.3.25.</p><p>I think 2.4 doesn&#039;t have stable release till now. Shouldn&#039;t you have it for 2.3.25 as well?</p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Fri, 03 Feb 2017 16:32:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27470#p27470</guid>
		</item>
	</channel>
</rss>
