Post your offer on the job board in this forum and see if someone has the time to assist you with TeamViewer/RDP/VNC.

2,552

(2 replies, posted in Setup)

tax_algorithm is stored as a 1 (Taxes from Totals) / 2 (Sum per line taxes) value in sys_prefs table (ie., on a per company basis) with the former as the default.

The file includes/sysnames.inc lists the possible values as:

$tax_algorithms = array( 
    TCA_LINES => _("Sum per line taxes"), 
    TCA_TOTALS => _("Taxes from totals")
);

The function tax_algorithm_list() in the file includes/ui/ui_lists.inc gets the select box suitable populated with the above.

The file admin/gl_setup.php is currently the only file that calls the above function and provides the form and  its processing code for the said field.

The Wiki page still shows the screeenshot and writeup for FA 2.3 where it was not available then. Stands updated.

Study the code in the function get_tax_for_items() in the file taxes/tax_calc.inc. The function round2() is used as the rounding function and is defined in includes/current_user.inc:

function round2($number, $decimals=0)
{
    $delta = ($number < 0 ? -.0000000001 : .0000000001);
    return round($number+$delta, $decimals);
}

In each case of it's use, the $decimals parameter was taken from the user choices using $dec = user_price_dec();.

Does it work okay from FireFox or from some other PC? This is clearly some php setting or apache conf setting that may be at fault. Do a complete check of all files for differences with the core.

More likely the Chrome setting for cache / cookie availability in the popup.

The Mail Send seems to be placed in the wrong inner loop.....

2,556

(3 replies, posted in Reporting)

When using it in the class let it be:

var $extn_$systypes_array = $systypes_array;
$this->extn_systypes_array[ST_SALESINVOICE] = _('Donations');

@joe: fix?

Lines 532 to 547 in inventory/manage/items.php:

    div_start('controls');
    if (!isset($_POST['NewStockID']) || $new_item) 
    {
        submit_center('addupdate', _("Insert New Item"), true, '', 'default');
    } 
    else 
    {
        if (@$_REQUEST['popup']) hidden('popup', 1);
        submit_center_first('addupdate', _("Update Item"), '', 
            $page_nested ? true : 'default');
        submit_return('select', get_post('stock_id'), 
            _("Select this items and return to document entry."));
        submit('clone', _("Clone This Item"), true, '', true);
        submit('delete', _("Delete This Item"), true, '', true);
        submit_center_last('cancel', _("Cancel"), _("Cancel Edition"), 'cancel');
    }

We need to let the resultant page after insertion know that it came from a popup. Hence move the line:

        if (@$_REQUEST['popup']) hidden('popup', 1);

to be the second line in the snippet above.

FA 2.4 has such theming ready renderers that allow for hooks into them which is way simpler than Joomla or Wordpress.

Check the terms of payment choice for such invoices if you find a pattern.

The relevant Wiki pages are:
https://frontaccounting.com/fawiki/index.php?n=Help.ItemsAndInventory
https://frontaccounting.com/fawiki/index.php?n=Help.Manufacturing
SalesKits are mere bunching of items for a bundle sale.

If you are using the UK CoA from the official pkg repo, please note that it has some field order differences from the standard en_US-new.sql Chart that FA relies on. You can fix it by overwriting your CoA in the sql folder with the one from my repo.

2,561

(4 replies, posted in Reporting)

No, just see if you can hide the Sales tab from one of your extensions and make it persist....

# nslookup finance.google.com

Non-authoritative answer:
Name:    www3.l.google.com
Address:  172.217.26.206
Aliases:  finance.google.com

# nslookup 172.217.26.206

Name:    maa03s23-in-f206.1e100.net
Address:  172.217.26.206

The IP address keeps changing since it is part of a set of ranges allotted to Google.

FA 2.3 users too can port it if they use GOOGLE as their exchange rate service provider with suitable changes in IP if necessary only if it keeps failing them with the errors listed in the first post here. It stands backported in my repo's FAMods for FA2.3.x.

@joe: while fixing this check on any alert thresholds to inform the user that the remaining is out of stock.

Hope you had enabled the config variable to allow negative stock.

The latest zh_CN Chart of Accounts has been updated for FA 2.4.2 in my repo. The field orders and table sets stand synched with the en_US-new.sql counterpart. Missing Accounts added. The data in the stock_category table is yet to be updated after install as of now.

As long as you have no transactions, the lookup data like customers, suppliers and items can easily be exported and re-imported with the likes of phpMyAdmin / SQLyog. Anyway, goodluck.

You might want to synch your schema at the very least before you start entering transactions.

Take an sql dump of your database (only the structure/schema) without any data and upload it somewhere and paste the link here. Will try to provide the alter statements for the database to synch the schema to the en_US-new.sql standard as in my repo.

Try one of the import transaction extensions. You will have to enter the exact string values for the fields needed.

You are using the Foxit PDF reader to view PDF documents. Make sure you are using a recent FireFox Browser as it comes with a native PDF viewer so that it shows up in the browser itself. Check your browser Applications linkage options.

The last time FA was updated was on 13th Oct 2017 as on date.

2,569

(3 replies, posted in Reporting)

Use a local property in your extension application class and code it as:

var $extn_$systypes_array = $systypes_array;
$extn_systypes_array[ST_SALESINVOICE] = _('Donations');

2,570

(4 replies, posted in Reporting)

Try to remove some tabs too.....

2,571

(1 replies, posted in Report Bugs here)

The function gl_options_controls is defined (but not used) differently in the following files (only the second one has the footer in it):

gl/includes/ui/gl_journal_ui.inc
gl/includes/ui/gl_bank_ui.inc

The said function is called in the following files by including the respective file above:

gl/gl_journal.php
gl/gl_bank.php

Let us first start naming global functions uniquely.
The said function may need to be fixed in the file gl/includes/ui/gl_bank_ui.inc and if the function is renamed for uniqueness, then the corresponding function call in gl/gl_bank.php too should be corrected.

I too have no problems rendering them. Attached are the outputs from the en-US-demo.sql CoA.

The Chart SQL files in sql/*.sql will not be touched by FA. They are used as templates to create a new company only. Hence replacing the them from my repo will not affect anything except that the next company you create will be okay to start with itself.

The backup sqls are the ones that contain your changes and they are created on the fly and are stored in company/#/backup folder. This is the one you will want to correct and synch it's schema and data with the one in my repo - use with care - and then upload and restore therefrom.

Since you do not have any transactions yet, it might be easier to create a new company from the sql in my repo and then incorporate the small changes you have made all over again in it.

The Supplier Credit Note is editable in a fully working install of FA 2.4.2+.
My earlier email listed the db changes in the Voiding of a Supplier Credit Note.
It appears that your install is broken.

2,575

(18 replies, posted in Report Bugs here)

What happens if each transaction is posted separately instead of combining all three payments received into one journal transaction - is it okay? If so, then there is GROUP BY / SUM error in the sql used. Post the urls that are affected.

@joe: Needs investigation and fixing.