2,276

(8 replies, posted in Accounts Receivable)

Look into payment_person_type class code. All the functions should be fixed to count your new payment type. Also has_items().

Janusz

2,277

(8 replies, posted in Accounts Receivable)

First you should make list selector for members in ui_lists.inc. This is very simple by copy-paste customer_list(), change its name to say members_list() and modify SQL used. Then you should add new type in person_payment_types class in types.inc. The last step is to modify display_bank_header() in gl_bank_ui.inc to include support for new PayType.

Good luck
Janusz

2,278

(11 replies, posted in Accounts Receivable)

Seems this is issue of your version of Mysql, although on 5.0.32 all works fine.
Please check if parameter $due_date='0000-00-00' will work. This is default empty value for data fields.
Janusz

2,279

(1 replies, posted in Report Bugs here)

You are right, the session_register calls are long lasting relicts from earlier FA versions. We have no complains about it, but yes they should be removed accorrding to php manual.
Regarding the second issue it was just removed using session_name(). Fix in CVS to be released with 2.0.2.

Thank you for your testing effort.

2,280

(22 replies, posted in Report Bugs here)

The translation system works on both php4 and php5 as the whole FA. First you should check if the affected systems does use gettext extension. If not emulated gettext is used and you should check write permissions to subdirectories described above. On the other hand FA does not use write access and you should check if your system have proper locale installed.
According to php manual there is no php settings related to gettext in php.
Janusz

2,281

(22 replies, posted in Report Bugs here)

Keep in mind that it is not enough to recode messages .po /.mo to utf-8. You should also declare proper encoding in installed_languages.php. If all three encodings are utf-8 (system locale, messages.mo and installed_languages.php entry) I have no more idea on that issue.

Janusz

2,282

(5 replies, posted in Report Bugs here)

Hi Alvin.
This bug finally have been fixed. CVS updated.

Janusz

2,283

(11 replies, posted in Report Bugs here)

Some operations potentially dangerous for whole FA site are available only for admins of the first registered company, exactly the first one in db_connections array in config_db.php.

2,284

(11 replies, posted in Report Bugs here)

You have missing company/1 subdirectory on aljo2.com server.

I've just tested the company maintenance page and something seems to be broken here.

2,285

(5 replies, posted in Report Bugs here)

Could you point out the page where did you find the issue?
Janusz

2,286

(11 replies, posted in Report Bugs here)

Strange. Your demo at almacennaval seems behave as it should.

2,287

(11 replies, posted in Installation)

I cannot imagine why you have the problems with login, anyway you can check 0_users table. Here you should have record with:
user: admin
password: 5f4dcc3b5aa765d61d8327deb882cf99

These are correct values for admin:password account.

2,288

(11 replies, posted in Installation)

You can import en_US.sql file e.g. via phpMyadmin. The startup login is admin: password.

2,289

(22 replies, posted in Report Bugs here)

What about the locales ? I've checked it on my installation, that without proper locales installed the gettext simply fails silently. For example I use pl_PL messages with no probnlem, but when I copy lang/pl_PL file to e.g. lang/xx_XX and make respective addition in installed_languages.php the xx_XX language doesn't work. Locales are defined in debian together with encoding e.g. pl_PL.ISO-8859-2 or es_MX.ISO-8859-1. Then if you declare improper encoding the gettext can also fail. You can list all installed locales with
    locale -a
Then compare it with your FA settings.

Janusz

The purchase is posted to GL after receiving purchase invoice. GRN only changes inventory status.

2,291

(11 replies, posted in Installation)

Check your config_db.php file. Here you should have something like this:

$db_connections = array (
    0 => array ('name' => 'Testing Co. Ltd.',
        'host' => 'localhost',
        'dbuser' => 'ThePoet',
        'dbpassword' => 'somepassword',
        'dbname' => 'fa2',
        'tbpref' => '0_')

};

Of course your password can differ a little smile.

Janusz

2,292

(22 replies, posted in Report Bugs here)

Yes, you are right, all seems right although if you have gettext installed, the write access is not needed as the php file is not created at all.

Have you locales-all package or simply locales for es_MX installed ? This is also required to use gettext.

Janusz

2,293

(19 replies, posted in Setup)

Admins of the first registered company can be considered as superadmin, who have exclusive access to some potentially dangerous for whole site operations like adding extension modules. The manual is not up to date at this point, so sorry for troubles.

Janusz

2,294

(22 replies, posted in Report Bugs here)

The problem is the LC_MESSAGES folder is owned by fyl, not www-data, so server have no write access to it.
But if you have admin access to your server you can simply install gettext package. This is much better choice than fallback php solution. Otherwise try to set write permissions to 777 for the lang/es_MX/LC_MESSAGES folder.

Janusz

2,295

(6 replies, posted in Installation)

No. This is just generated example:

http://img293.imageshack.us/img293/1810/screencq2.png

All works out of the box. No idea why you have blank page.

Janusz

2,296

(6 replies, posted in Installation)

After module install you should have on every page Help link. Clicking on this link opens new window with wiki page named after current FA page title  ready for edition. In right top corner you should have search box, and the edit link is the first link below the box.
All wiki changes introduced by user are stored in local FA file system, and currently all the wiki information is shared between all the FA site users.

Janusz

2,297

(6 replies, posted in Installation)

Whole install process is explained  in module description on download page.

2,298

(7 replies, posted in Reporting)

The report have not changed since 1.xx. The summary is calculated as follows:
Calculated Return = Total Sales - (Total Cost of Sales + Total Expenses)

Here positive return is equivalent to profit, negative value means you have lost money. NB the word return at this context  have nothing to do with goods returned by customer on GRNs smile.

Janusz

2,299

(7 replies, posted in Reporting)

I'm not sure what you mean. On the report you have benefit calculated as sales minus costs in the last report line, so where is the problem?

Janusz

2,300

(7 replies, posted in Reporting)

Hello
You can generate Profit and Loss report from Banking & General Ledger/Report and Analysis menu.
To add any custom fields to item record you should know php and change respective files in inventory subdirectory (namely items.php and items_db.inc). There is no way to add this without changing source code.
Currently there is no support for tracking demaged items, but you can do it manually eg by periodical inventory adjustments, or issue invoice, then write off returned items in credit note.

Janusz