After installing the extension and activating it for the target company and logging in to it, go to Setup -> Access Setup -> System Administrator -> tick the permissions and save the role. Logout and login again. Choose the dropdown theme and see if the Import CSV is greyed out. If so, visit the Setup -> Access Setup page and then see if the menu item is visible. This problem does not exist in the Canvas and Default themes as they do not use the meta forward to go to the dashboard.php file.

Just tested it out again for both the original and the patched versions of the extension.

Checked in the apache error logs and the tmp/errors.log - nothing there.

@joe: can confirm that when switching back and forth from / to the dropdown theme, the import_items extension (original) does get disabled without error but visiting Setup -> Access Setup page seems to re-enable it when done from the said theme itself.

I have tested it both on Windows (XAMPP v1.7.3 / PHP 5.3.1) and on Debian 6 (PHP 5.3.3-7). The default FA 2.4.2+ works fine with official import_items module - you can try to patch it to the latest as well from my FA24extensions repo - it will also work.

The reason is that the said function add_access_extensions() is executed on line 12 of import_items.php itself and there is no need for it in the renderer.php of the themes at all.

Themes get populated with data mostly from the $_SESSION variable which would have got populated with the security parameters before the display template is used. Hence the add_access_extensions() is not required to be executed in any theme at all.

2,428

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

This extension has been updated in the official pkg repo as v2.4.0-4.

Dropdown theme has now been removed from the Official PKG Repo since it is part of the core. Thanks.

2,430

(12 replies, posted in Wish List)

You're right, you deliver per Sales Order.
Multiple Sales Orders cannot be bunched to a single Delivery in FA as on date.
Since Sales Orders generally do not affect many tables, it might be better to just edit an existing Sales Order and keep adding to it - saves time creating separate Sales Orders.

@kvvaradha & @boxygen: There is no use of solutions where none are needed. Ambiguous statements will only confuse the end user.

The standard FA 2.4.2+ works with the standard import_items PKG from the official PKG repo. Minor updates to it are available from the FA24extensions repo which I maintain independent of the official FA repos..

Users are best advised to update their install to the latest release / master before seeking assistance in the forum and state the versions of all pertinent applications used and any dated / specific versions assistance can be taken offline so as not to confuse other users.

Yes. It will be verified at Transifex and then made into an extension in the official repo. My FA24extensions repo has been updated with 402 / 3302 strings translated.

2,433

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

The FA 2.4 version of the import_items module has been updated.

See this commit.

The import_items module has many fixes and needs to be updated from the FA24extensions repo as the official PKG has not yet been updated as on date (under review).

This is not required as the add_access_extensions(); is available at the top of the file import_items.php itself.

2,435

(12 replies, posted in Wish List)

Batch delivery of items from multiple sales orders has there for quite some but deliveries to Invoices - check. Easily tested.

1. Make 2 or more Sales orders from same customer.
2a. Bunch them into a single delivery (can invoice this single delivery).
2b. Make 2 or more deliveries from same or across sales orders and then try to make a single invoice out of them.

From @joe's post:

Yes there is.

If you have several deliveries you can batch invoice them all at once, if you like.

Have you tried?

/Joe

2,436

(3 replies, posted in Setup)

It is to place on record here for posterity and forking of their services so that it removes some developmental drudgery and saves me the time of having to upload zips each time the code changes in some extension. In future the url to the repo's subfolder would suffice.

Differences:

The Zip file size from each link varies. eg., for the import_items module:

DownGit - 30882 bytes
GitZip - 30624
7-Zip of folder in Windows - 9303 bytes

Either some payload is being introduced or the compression level is poor from the web site offerings.

Isn't it better removed from the Official 2.4 PKG repo?

The theme that is discussed here is from the Official PKG repo.

@joe: Please remove the dropdown theme from the official PKG repo as this is the one that is causing all the issues.

Was it left behind to help those migrating by merely overwiting files with the ones from FA 2.4.x? Then it it would be a veritable nightmare with all kinds of files that may get accidentally auto included and executed inadvertently.

If it must be there, then synch it with the one that is shipped with FA 2.4.2. Then the default and canvas themes too can find a place in it.

It is best to remove all themes that will not work with FA 2.4.x. The fact that the existing official PKG had the version number as 2.4.0-2 and also stated so inside it's renderer.php file is what confused me. In fact I thought it was an improved version of the one that shipped with FA 2.4.2 which doesn't appear to have been updated in quite a while - the last time it was modified was on 2015-12-24.

I have removed it from the FA24extensions repo since it is in the AF 2.4 core - otherwise, updating it will be redundant here.

@boxygen: add_access_extensions() is executed in FA 2.4 in index,php, admin/security_roles.php and is defined in include/access_levels.inc. If the themes are a legacy carryover from FA 2.3.x, then they will be present for now and may be used with care. These themes are: bluecollar, dashboard_theme, dynamic, exclusive, exclusive_db.

@joe: Thanks. Commit.

The dropdown theme is the one in the official repo for FA 2.4. Must it not match the one in the FA 2.4 repo too?

@boxygen: are you using the said theme in FA 2.3.x or in FA 2.4.x - the file path in the errors states fa24?

The add_access_extensions() is missing in a few themes such as this and was causing missing security access permissions for extensions if they exist and such a theme was chosen. Since dropdown is a core theme it should work flawlessly regardless of whether any extension is loaded or not.

2,443

(9 replies, posted in Setup)

You must take a backup each year. Then close the year and take another backup and then purge it and start your new year. Keep atleast one previous fiscal years data for reference and awaiting closure while the new year is online. Dont forget to backup the entire web install folder as well since it will have the item images and attachments too (company/#/*).

There is a higher probability of large databases getting corrupt more frequently than smaller ones that are properly indexed.

Whenever you need to check on older years that have since been purged, just restore them into some other cloud instance and restore from the backups and view it!

Note that the fiscal years table must have the id in sequence without any gaps and must match the Start Date order as well, otherwise closure and purging will hang / get corrupted.

Yes, you are right. There is a bug in line 173 of sales/inquiry/customer_inquiry.php which is:

if ($_POST['customer_id'] != ALL_TEXT && $_POST['filterType'] == '2')

and it should be:

if ($_POST['customer_id'] != "" && $_POST['customer_id'] != ALL_TEXT)

There is no use in checking for filterType=2 (Unsettled Transactions) to deny display of summary info of customer. Reverting it to the sane code as in FA 2.3 rectifies it as above.

Yes the same exists in line 156 in purchasing/inquiry/supplier_inquiry.php:

if ($_POST['supplier_id'] != ALL_TEXT && $_POST['filterType'] == '2')

and it should be:

if (($_POST['supplier_id'] != "") && ($_POST['supplier_id'] != ALL_TEXT))

@joe: can commit it.

The customer summary was just occupying top space which was re-allocated for more records below. wink

The Preferences Tamil page is attached.

There is no need to check for !$no_menu again as we are already inside an if which has already done so.
Also, the add_access_extensions(); is placed between the two divs of class fa-body and fa-content like in the other themes. If done earlier, what happens was not determined. As it is an independent check, the earlier the better but it should have necessary pre-requisites to perform it's job. If we retain it as you suggested, we lose the graphic plot display in the dashboards.

Attached is the latest version.

What about the default dropdown theme in FA 2.4.x?
@joe: must some reconciliation be done between the two?

2,448

(3 replies, posted in Setup)

When using the FA24Extensions repo (or any Git repo), if you want just one extension, it is advisable to paste the folder URL into GitZip to get it. It is written using jQuery and is available on GitHub.

http://kinolien.github.io/gitzip/

To vreate a download link to a specific Git subfolder, paste the URL into DownGit and get it. It is written in javascript and is available on GitHub.

https://minhaskamal.github.io/DownGit/#/home

The php-gettext wrapper project is useful for Windows Users who do not have the appropriate locale installed or gettext is not compiled in.

See the comment there.

For those who do not wish to use composer, there is a testgt folder in the attachment that merely uses normal file includes.

Walk thru the various language versions in my FA24extensions/Languages repo with:

find */_init -name config -type f -exec grep ^Version '{}' \;

@itronics: Thanks for heeding this long pending request.

FA's official pkg repo now has both Tamil (ta_IN) and Hindi (hi_IN) translations of the core.