5,026

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

For those on the LAN with no internet connection, a local FA repo can be setup with ability to use unsigned packages. Grab the repo bundle from my GitHub Repo (may not be upto date) and extract it to your locally resolvable domain like: http://localhost.or.localdomain.com/farepo/2.3/ such that the themes, languages, charts and extensions folders are under it.

Now in the config.php file, append the following code:

// LAN repo (0), WAN repo with signed packages (1)

    $repo_sign = 0;

// Comment out parameters not used

    $repo_auth = array(
//         'scheme' => 'http://',        // 'ftp://', 'https://'
//         'login' => '',
//         'pass' => '',
         'host' => 'localhost.or.localdomain.com',
         'path' => 'farepo',             // no leading or trailing slashes (/)
         'branch' => '2.3'             // Repository branch for current sources version
    );

Now edit the function get_pkg_or_list() in includes/packages.inc file:

1. Append the $repo_sign variable to the list of global variables.
2. Replace the line:

        if (openssl_verify($data, $sig, $cert) <= 0) {

with

        if ((!isset($repo_sign) || $repo_sign == 1) && openssl_verify($data, $sig, $cert) <= 0) {

Now the local repo is fully functional since the config.php parameters override the values in version.php.

@joe - can this flag ($repo_sign = true;) and a commented out repo array be included in the config.php file along with the changes in the includes/packages.inc in the mainstream stable distribution itself?

Try Quick Entry - See Wiki

I have not bothered to clone it from the official Git but rather rely on changes from the release to release file sets and then when I have time, I manually get the changed files and vet them before incorporation into my repo - that's why it will lag behind from time to time.

You can however use the hg2git and clone directly from the HG repo.

@itronics maintains the Official Git Mirror and probably he can shed some light.

5,029

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

You might also want to look at:
http://www.kvcodes.com/2014/08/create-page-navigation-tables-frontaccounting/

Part II is archived here.

5,030

(3 replies, posted in Installation)

Ajax login can have security issues - what field(s) would you want to ajax anyway? If the username field or company name field are ajaxed, then it might become easy to guess them.

5,031

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

Done updation! Attached herein. Now with Menu Icons change info.

5,032

(10 replies, posted in Installation)

Use TortoiseGit and do a fetch/pull if you cannot clone..

5,033

(9 replies, posted in Report Bugs here)

Thanks. Done.

Joe - can a flag in the config.php be used to toggle this in all reports possibly in the header2.inc or some footer page? This will help avoid having to change each and every report. Also a barcode in the footer of each report too may be useful.

5,035

(3 replies, posted in Installation)

Check if this is a timing issue - NTP synch your server and your client machines and try. Also see that you have the most recent code snapshot from the Official Git Mirror.

5,036

(9 replies, posted in Report Bugs here)

Thanks Joe. Wiki-ed it.

5,037

(6 replies, posted in Report Bugs here)

Wiki-ed it.

5,038

(9 replies, posted in Report Bugs here)

Then, are all forex transactions converted to domestic currency and displayed with all the others already in domestic currency or just the latter alone when "No Currency Filter" is chosen?

5,039

(9 replies, posted in Report Bugs here)

Then Joe, it should be made to choose the company's default currency if no currency is chosen and an "all currencies" option be provided to generate one without the final grand (meaningless) total!

5,040

(4 replies, posted in Setup)

Do you mean a time slot for access permissions?

5,041

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

Attached herewith is an English Translated and proofed version.

Any sql changes needed like setting up additional tables can be in special CoAs or done with appropriate hooks like the other parts of the code. Settings can be added to the system_defaults table.

5,043

(4 replies, posted in Misc. Charts of Accounts)

Or just copy paste in the forum.
Or edit the sql for the existing SA CoA.

5,044

(6 replies, posted in Setup)

To help with such OLAP (OnLine Analytical Processing), I have just resurrected the abandoned / forgotten phpMyOLAP in my GitHub Repo.

That's fantastic thinking out of the box @joe as always and quick and clear testing and feedback by @MarkAndrew. Thanks.

$cust_id should be a string with the name of the field and not it's value. If it is a reserved keyword then backquote it.

Wiki-ed it.

Please checkout the textcart extension and the Simple REST API as well.

Please upgrade to v2.3.21 (preferably the latest HG/Git version) so that any changes you make will be easily comparable and testable for inclusion into the current codebase.

Joe/Janusz - if FA on mobile is readonly, please state it in the feature list.

5,050

(3 replies, posted in Report Bugs here)

Wiki-ed it.