Look into payment_person_type class code. All the functions should be fixed to count your new payment type. Also has_items().
Janusz
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Posts by itronics
Look into payment_person_type class code. All the functions should be fixed to count your new payment type. Also has_items().
Janusz
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
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
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.
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
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
Hi Alvin.
This bug finally have been fixed. CVS updated.
Janusz
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.
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.
Could you point out the page where did you find the issue?
Janusz
Strange. Your demo at almacennaval seems behave as it should.
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.
You can import en_US.sql file e.g. via phpMyadmin. The startup login is admin: password.
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.
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 .
Janusz
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
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
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
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
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
Whole install process is explained in module description on download page.
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 .
Janusz
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
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
FrontAccounting forum → Posts by itronics
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.