Idea for a custom fix:
During login, another field (drop down box of application tab links and reporting links) can be used if a mobile user agent is detected and a bootstrap based mobile theme can kick into place.
The reports page for pdf download option may be a good place to use the mobile theme.
The Reports page must actually be a tab in FA!
4,926 10/23/2014 02:35:56 am
Re: Mobile Theme allowing invoice generation (2 replies, posted in Wish List)
4,927 10/23/2014 02:31:38 am
Re: First name and last name in emails (5 replies, posted in FA Modifications)
Better still, replace lines 1003 to 1006:
$to = str_replace(",", "", $contact['name'].' '.$contact['name2'])
." <" . $contact['email'] . ">";
$msg = _("Dear") . " " . $contact['name2'] . ",\n\n"
. _("Attached you will find ") . " " . $subject ."\n\n";with
$to = str_replace(",", "", $contact['name'].' '.$contact['name2']);
$msg = _("Dear") . " " . $to . ",\n\n"
. _("Attached you will find ") . " " . $subject ."\n\n";
$to .= " <" . $contact['email'] . ">";In some places it may be rude to address one by first name or by full name unless you are sufficiently acquainted with them. Hence such a change may be done with a flag in the config file or in the per company based sys_prefs table.
Alternatively, it may be included in the core as is since this will avoid ambiguity with many persons having the same last name!
4,928 10/23/2014 02:22:45 am
Re: Change display language (6 replies, posted in Installation)
1. Login to the default company.
2. Activate the language for the specific company.
3. Logout.
4. Login to the specific company.
5. Choose the language for the specific company in it's setup page.
6. Choose the language for the specific user.
7. Logout/Login to the specific company again.
4,929 10/23/2014 02:17:04 am
Re: Trouble editing Bank deposit (2 replies, posted in Report Bugs here)
Try a contra entry.
4,930 10/17/2014 07:03:01 pm
Re: How to post Creditors in FA (5 replies, posted in Banking and General Ledger)
"Yes they are" what ??
general customers/suppliers
OR
journal debtors/creditors only?
4,931 10/16/2014 08:56:11 pm
Re: The entered transaction does not exist or cannot be voided. (13 replies, posted in Accounts Receivable)
Pass a contra entry!
4,932 10/16/2014 08:52:17 pm
Re: Disable JavaScript to edit or make changes (5 replies, posted in Report Bugs here)
If it is windows XP, there there should not be user permissions issue. If it is Win7/8/8.1 then there could be user permissions issues for the folders having the FA code. Are you running it on XAMPP (if so please see the wiki for OpenSSL extension inclusion in php.ini). Check your php.ini settings to see if it satisfies FA's requirements. Also see that some of the .htaccess files are not causing you problems by renaming them temporarily.
4,933 10/16/2014 08:44:42 pm
Re: How to post Creditors in FA (5 replies, posted in Banking and General Ledger)
debtors and creditors go into debtor_master table and possibly have customer / branch tables to be populated as well.
Are these debtors/creditors general suppliers / customers or are they journal debtors/creditors only?
The GL and Dashboard will automatically pick up the entries from the database tables when populated.
4,934 10/16/2014 08:40:46 pm
Re: Development of New Modules and FA Customizations (3 replies, posted in Jobs wanted/offered, non-free offers)
If only search is required outside of FA code, it can be hammered out using other tools with canned SQLs. If search is required within FA, the see if any similar functionality exists in other parts of FA and then try to port it.
Better still is to avoid the drop down entirely and choose the ajax method by toggling the checkboxes in the company Setup page.
4,935 10/16/2014 08:35:07 pm
Re: Is the "#, php-format" string in empty.po a bug (4 replies, posted in Report Bugs here)
The auto Google translate bash oneliner was requested to make translation easier as native speakers of the language can afterwards correct only the ones that are wrong.
Sales Invoice
Sales Invoice:
The above two could have been handled by just one instance without the colon and the colon could have been hard coded in the scripts. If the colon comes in between the string, then it can be handled individually.
4,936 10/13/2014 09:10:08 am
Re: Development of New Modules and FA Customizations (3 replies, posted in Jobs wanted/offered, non-free offers)
Search Window Facility for Items, Customers, Suppliers already exists with Ajax and without it (drop down select box) - based on Company Setup checkboxes settings.
4,937 10/13/2014 08:58:37 am
Re: Annual Expense Breakdown Accounts (9 replies, posted in Reporting)
If by July you have introduced new accounts then the two would not match.
Hence use something like WinMerge or some diff program to compare both reports and then you can make do with the reports as they are.
4,938 10/13/2014 01:53:20 am
Re: Fix to display C Language (2 replies, posted in Translations)
The fix for this issue is attached herein.
--- old/admin/inst_lang.php Mon Sep 29 21:21:28 2014
+++ new/admin/inst_lang.php Mon Oct 13 07:15:53 2014
@@ -77,7 +77,7 @@
$support = $GetText->check_support($lang, $charset);
- if (function_exists('gettext') && !$support && !get_post('DisplayAll')) continue;
+ if (function_exists('gettext') && !$support && !get_post('DisplayAll') && $lang != 'C') continue;
label_cell($lang);
label_cell($available ? get_package_view_str($lang, $lang_name) : $lang_name);4,939 10/13/2014 01:40:20 am
Topic: Fix to display C Language (2 replies, posted in Translations)
The default page that comes up when we navigate to Setup -> Install/Update Languages is the one that has the checkbox "Display also languages not supported by server locales" unchecked and it does not display the default "C" language so important to revert to English!
A fix to remedy this is needed - otherwise we will have to continually check the checkbox and then choose "C".
4,940 10/13/2014 12:55:03 am
Re: Is the "#, php-format" string in empty.po a bug (4 replies, posted in Report Bugs here)
There are lots of strings with and without a colon(:) at the end - can they not all be consolidated?
Minimizing number of strings would make for quicker translations.
Also ucfirst() can be used to capitalise the first letter of a string to minimize the number of strings in translations as well.
Any bash oneliner to make a quick Google translate and work from there?
4,941 10/12/2014 05:32:28 pm
Re: Cant Click Any Link (6 replies, posted in Report Bugs here)
It is Login Timeout and is the last but one in the right hand side.
All system details are at Setup -> Maintenance -> System Diagnostics.
4,942 10/12/2014 04:03:03 pm
Re: Edit bank transfer (12 replies, posted in FA Modifications)
@Janusz - please check to see if it can be included in the core with or without a flag in the config.
4,943 10/12/2014 04:00:48 pm
Re: Cant Click Any Link (6 replies, posted in Report Bugs here)
Setup -> Company Setup -> Browser Timeout -> change from default 600 (10 minutes) to say 28800 (8 hours).
4,944 10/12/2014 03:59:18 pm
Re: Disable JavaScript to edit or make changes (5 replies, posted in Report Bugs here)
Platform: Windows/Linux ?
PHP, Apache, MySQL versions?
JS should not be disabled to use FA.
Check your browser type and version and see if it has been infected. Remove all cache from the browser.
4,945 10/12/2014 03:56:44 pm
Re: Installing a new chart of accounts (5 replies, posted in Setup)
Make a file with the following contents:
<?php
echo phpinfo();
?>and upload it to your webroot and browse to it - you will get all the server information you need like php version. Remove the file forthwith as it is a security risk if left there.
Find out what your webserver user is and make the webroot files and folders owned by it and make all folders 755 and files 644. That way the world will not be able to write into it.
All system details are at Setup -> Maintenance -> System Diagnostics.
4,946 10/12/2014 12:00:24 pm
Topic: Customers Import WebService (6 replies, posted in Modules Add-on's)
Visit my FA Utilities page for FA related Utilities as WebService.
Visit the Customer Import SQL generation page and input the Company Number (without the underscore) and a tab separated Vales text file containing the customers you wish to import.
Use the generated SQL in a MySQL client in the relevent database.
The input file should be a tab separated value file.
Have No headings
Must have .tsv file extension
File Size < 30Kb.
Nothing is stored on the server
Uploaded temporary file is parsed on the fly.
Only addslashes is used to clean input
No CR/LF in any of the fields
Fields in Order:
NickName
FirstName
LastName
Address
Phone
Email
NRIC
Gender4,947 10/12/2014 11:20:32 am
Topic: FA - Tamil Translation (8 replies, posted in Translations)
The standard FA Repo does not as yet have any Tamil Translation.
If anyone has done it hitherto - please provide it to the project.
A small start has been made in doing it afresh. Around 230 (out of around 3000) strings have been translated, compiled and attached herein along with screenshots to enable others to contribute as well.
In debian squeeze the following were done to get it working:
# locale-gen en_US.UTF-8 UTF-8 ta_IN UTF-8 en_US.ISO-8859-1 ISO-8859-1
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
sed -i -e 's/# en_US ISO-8859-1/en_US ISO-8859-1/' /etc/locale.gen
sed -i -e 's/# ta_IN UTF-8/ta_IN UTF-8/' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
update-locale en_US ISO-8859-1 en_US.UTF-8 UTF-8 ta_INThe translation files were uploaded to lang folder.
A element was added to the array in lang/installed_languages.inc which now became:
<?php
/* How to make new entries here for non-packaged languages:
-- 'code' should match the name of the directory for the language under \lang
.-- 'name' is the name that will be displayed in the language selection list (in Users and Display Setup)
-- 'rtl' only needs to be set for right-to-left languages like Arabic and Hebrew
-- 'encoding' used in translation file
-- 'version' always set to '' for manually installed languages.
-- 'path' installation path related to FA root (e.g. 'lang/en_US').
*/
$installed_languages = array (
0 =>
array (
'code' => 'C',
'name' => 'English',
'encoding' => 'iso-8859-1',
),
1 =>
array (
'code' => 'en_US',
'name' => 'English US',
'encoding' => 'utf-8',
'path' => 'lang/en_US',
),
2 =>
array (
'code' => 'ta_IN',
'name' => 'Tamil IN',
'encoding' => 'utf-8',
'path' => 'lang/ta_IN',
),
);
$dflt_lang = 'C';
?>Login to the default company as admin and navigate to Setup -> Install/Activate Languages and choose the ta_IN radio button. Logout and Login again and the Tamil Login Interface will come up.
If you are using PoEdit to compile the .po to .mo file, then in Windows, the following utility (make_mo.bat) will come in useful when placed and executed from where the .po file is:
set langname=ta_IN
set poedpath=C:\Program Files\Poedit\bin\
copy %langname%.po "%poedpath%"
set abc=%cd%
cd "%poedpath%"
msgfmt %langname%.po -o %langname%.mo
move %langname%.mo "%abc%"
del %langname%.po
cd %abc%
set abc=Useful Links:
TamilCUBE Dictionary
TamilDict Dictionary
Google Translate
gxlate - My PHP function to obtain a single Google translated string without the use of any Google Translate API key.
4,948 10/12/2014 11:09:09 am
Re: Cant Click Any Link (6 replies, posted in Report Bugs here)
Check timeout. Possibly Windows 8.1 quirks....
4,949 10/12/2014 07:48:14 am
Re: Installing a new chart of accounts (5 replies, posted in Setup)
php 2.11.9.6 ??
4,950 10/12/2014 07:47:08 am
Topic: Is the "#, php-format" string in empty.po a bug (4 replies, posted in Report Bugs here)
Please check the lang/new_language_template/LC_MESSAGES/empty.po file that contains several lines just being #, php-format.
Is this a bug / cause for some strings to become missing?
