1. Create cash account for each user
2. create POS for each and assign the account to the POS and
3. assign POS to user

2

(15 replies, posted in Modules Add-on's)

aterad wrote:

@dearmosin,
I am having issues with this beautiful module, after downloading and completed the installation process. I could not locate the shipment tracking module on FA.
Please after the installation has been activated from install extension, how can i locate it?

You will find shipment tracking on sales application.

Congratulations to FA developers and FA community

Any update of this modification to work in fa 2.4.9?

5

(45 replies, posted in Modules Add-on's)

Problem solved. Thank you

6

(45 replies, posted in Modules Add-on's)

Hello all esteem members.

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:

(SQL script execution failed in line 2: Erreur de syntaxe près de ') ENGINE=InnoDB' à la ligne 19)
(Status change for some extensions failed.)

I was able to re-install when I commented out as follow:

                 function activate_extension($company, $check_only=true) {
                            global $db_connections;
       
                          // $updates = array( 'update.sql' => array('sharehold'));

                          return $this->update_databases($company, $updates, $check_only);
                   }

-------------------------------------update.sql---------------------

DROP TABLE IF EXISTS `0_shareholder`;
CREATE TABLE IF NOT EXISTS `0_shareholder` (
    `shd_id` int(11) NOT NULL AUTO_INCREMENT,
    `shd_first_name` varchar(100) DEFAULT NULL,
    `shd_last_name` varchar(100) DEFAULT NULL,
    `gender` tinyint(1) NOT NULL DEFAULT '0',
    `shd_address` tinytext,
    `shd_mobile` varchar(30) DEFAULT NULL,
    `shd_email` varchar(100) DEFAULT NULL,
    `shd_birthdate` date NOT NULL,
    `national_id` varchar(100) DEFAULT NULL,
    `passport` varchar(100) DEFAULT NULL,
    `bank_account` varchar(100) DEFAULT NULL,
    `tax_number` varchar(100) DEFAULT NULL,
    `shd_notes` tinytext NOT NULL,
    `shd_hiredate` date DEFAULT NULL,
    `shd_releasedate` date DEFAULT NULL,
    `inactive` tinyint(1) NOT NULL DEFAULT '0',
    PRIMARY KEY (`shd_id`),
) ENGINE=InnoDB;

-----------------------------------------------------------------------

Please help