Check timeout. Possibly Windows 8.1 quirks....
4,927 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,928 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?
4,929 10/11/2014 03:26:28 am
Re: Annual Expense Breakdown Accounts (9 replies, posted in Reporting)
Isn't that what you wanted - to display all?
4,930 10/11/2014 03:21:24 am
Re: Installing a new chart of accounts (5 replies, posted in Setup)
Yes do that but make sure that the webserver user has write access to the important files and folders (heck, just make it all for now).
Also state what platform you are on - Linux / Windows and and flavour/version, apache, php and mysql versions too wold be handy.
You need to install languages and CoAs from the default company and activate them for the other companies before becoming visible in them (don't forget to activate the extensions/CoAs for the respective companies.
4,931 10/08/2014 10:07:05 pm
Re: Reports in Arabic (3 replies, posted in Reporting)
The Arabic Fonts can be downloaded here.
4,932 10/08/2014 10:05:39 pm
Re: Reports in Arabic (3 replies, posted in Reporting)
Wiki-ed the solution.
Arabic in FA
============
In linux, install the Arabic locale:
locale-gen ar_EG.utf8
Install ar_EG Arabic Language within FA
Edit the encoding in lang/installed_languages.inc to be 'utf-8' for ar_EG language
Upload the Arabic fonts ? (aealarabiya and aefurat) to the reporting/fonts folder
Edit lines 158 in reporting/includes/class.pdf.inc to be:
case "ar_EG" : $fontname = "aealarabiya"; break;
When logged in, make your language preference for the UI to be Arabic.
Now all reports will be in Arabic.
4,933 10/08/2014 07:06:49 pm
Re: Field crm_contacts.entity_id should be INT (2 replies, posted in Report Bugs here)
It should not cause any problems if we change it in v2.3 itself isn't it?
4,934 10/08/2014 04:15:21 pm
Re: Annual Expense Breakdown Accounts (9 replies, posted in Reporting)
Clear browser cache. Logout and login again. Crear the js cache from the company folder and the and template cache as well.
4,935 10/08/2014 08:27:53 am
Re: Annual Expense Breakdown Accounts (9 replies, posted in Reporting)
You must not comment out / remove all these lines. Just remove the if wrapper so that all lines will print - replace them with:
// Display all lines
$rep->row += 6;
$rep->Line($rep->row);
$rep->NewLine();
$rep->TextCol(0, 2, _('Total') . " " . $typename);
for ($i = 1; $i <= 12; $i++)
$rep->AmountCol($i + 1, $i + 2, ($total[$i] + $ctotal[$i]) * $convert, $dec);
$rep->NewLine();
4,936 10/08/2014 07:40:04 am
Re: How to make a pop up report? (1 replies, posted in Reporting)
reporting/repXXX.php files generate the reports (modified clones in # company folders override them).
reporting/reports_main.php file contains the form input variables.
FPDF / TCPDF / HTML2PDF libraries can be used to customise generation of the PDF Reports.
Have look at the reporting/includes/pdf_report.inc file that has the FA PDF report class and the reporting/includes/excel_report.inc file that has the FA Excel report class.
4,937 10/08/2014 02:34:19 am
Re: Release 2.3.22 (7 replies, posted in Announcements)
FA Forum Registrations stats attached.
4,938 10/07/2014 06:00:18 pm
Re: Edit bank transfer (12 replies, posted in FA Modifications)
Is it completed now at:
https://github.com/cambell-prince/frontaccounting/commits/feature/tempBankTransferEdit
?
4,939 10/07/2014 05:53:31 pm
Re: New install on CentOS Godaddy Virtual Private Server Questions (3 replies, posted in Setup)
Get your changed files from:
https://frontaccounting.com/punbb/viewtopic.php?id=5211
4,940 10/07/2014 04:12:21 pm
Re: Importing customer csv data in FA v2.3.6 (65 replies, posted in Setup)
Here is a pure MySQL import of one customer sequence for FA v2.3.22:
SET @currency=(SELECT MID(`value`,1,3) AS currency FROM `2_sys_prefs` WHERE category='setup.company' AND `name`='curr_default'); # SGD
SET @debtorsact=(SELECT (`value`+0) AS debtors_act FROM `2_sys_prefs` WHERE category='glsetup.sales' AND `name`='debtors_act'); # 1200
SET @paymentdiscact=(SELECT (`value`+0) AS debtors_act FROM `2_sys_prefs` WHERE category='glsetup.sales' AND `name`='default_prompt_payment_act'); # 4500
SET @salesdiscact=(SELECT (`value`+0) AS debtors_act FROM `2_sys_prefs` WHERE category='glsetup.sales' AND `name`='default_sales_discount_act'); # 4510
SET @ref='Jack Brown';
SET @name='Jack David';
SET @name2='Brown';
SET @address='123 Timbuktoo Street, Johannesburg, South Africa';
SET @phone='94568745';
SET @email='jack@dbrown.com';
SET @CitizenID='H5463546T';
SET @Gender='Male';
INSERT INTO 2_crm_persons (ref, `name`, name2, address, phone, email, notes) VALUES (@ref, @name, @name2, @address, @phone, @email, CONCAT(@CitizenID,' ',@Gender));
SET @personid=LAST_INSERT_ID();
INSERT INTO `2_debtors_master` (debtor_no, `name`, debtor_ref, address, tax_id, curr_code, credit_status, payment_terms, credit_limit, notes)
SELECT
NULL AS debtor_no,
CONCAT(`name`,' ',name2) AS `name`,
ref AS debtor_ref,
address,
'' AS tax_id,
@currency AS curr_code,
1 AS credit_status,
4 AS payment_terms,
0 AS credit_limit,
'' AS notes
FROM 2_crm_persons
WHERE id = @personid;
SET @debtorno=LAST_INSERT_ID();
INSERT INTO `2_cust_branch` (branch_code, debtor_no, br_name, branch_ref, br_address, area, salesman, contact_name, default_location,
tax_group_id, sales_account, sales_discount_account, receivables_account, payment_discount_account, br_post_address, notes)
SELECT
NULL AS branch_code,
@debtorno AS debtor_no,
`name` AS br_name,
debtor_ref AS branch_ref,
address AS br_address,
1 AS area,
1 AS salesman,
'' AS contact_name,
'DEF' AS default_location,
1 AS tax_group_id,
'' AS sales_account,
@salesdiscact AS sales_discount_account,
@debtorsact AS receivables_account,
@paymentdiscact AS payment_discount_account,
address AS br_post_address,
notes
FROM `2_debtors_master`
WHERE debtor_no = @debtorno;
SET @brcode=LAST_INSERT_ID();
INSERT INTO `2_crm_contacts` (id, person_id, `type`, `action`, entity_id) VALUES
(NULL, @personid, 'cust_branch', 'general', @brcode)
, (NULL, @personid, 'customer', 'general', @debtorno);
ERD is in the Wiki and attached in this post as well.
4,941 10/07/2014 04:09:24 pm
Re: New install on CentOS Godaddy Virtual Private Server Questions (3 replies, posted in Setup)
Move all files from the /account/frontaccounting directory to the /account directory.
Go to your browser and access the url:
http://IP.or.domain/account
It will redirect you to the install page.....
4,942 10/07/2014 02:50:22 pm
Topic: Field crm_contacts.entity_id should be INT (2 replies, posted in Report Bugs here)
The field crm_contacts.entity_id is used to look up the cust_branch.branch_code in reporting/rep103.php and hence both must be of the same field type. The former is VARCHAR(11) whilst the latter is INT(11). Any reason why the former remains VARCHAR?
The file sales/includes/db/branches_db.inc too uses the entity_id field to lookup the branch_code in a similar way.
4,943 10/06/2014 10:00:24 pm
Topic: CustName being posted in ref field in crm_persons table (0 replies, posted in Report Bugs here)
To match the order of Nickname (ref), First Name (name), Last Name (name2) in the function that inserts and updates these fields in the crm_persons table, we need it to match the arguments order being passed on during it's invocations.
The function add_crm_persons() is defined in includes/db/crm_contacts_db.inc:
function add_crm_person($ref, $name, $name2,.....
but invoked in line 120 of sales/manage/customers.php by:
add_crm_person($_POST['CustName'], $_POST['cust_ref'], '', ......
4,944 10/06/2014 09:24:18 pm
Re: bank import module (14 replies, posted in Modules Add-on's)
Just like importing bank statements into FA, we also need to import customers into FA. Since both can benefit from a common CSV parsing routine based on different templates, it would also be a nice addition or as a separate extension that partakes of this code.
4,945 10/06/2014 07:07:29 pm
Re: bank import module (14 replies, posted in Modules Add-on's)
The only relation to this module will be the CSV parser. You can refer this post for the SQLs involved.
4,946 10/06/2014 06:57:38 pm
Re: Reports in Arabic (3 replies, posted in Reporting)
Look up the font variable in the config.php file and set it accordingly.
4,947 10/06/2014 06:56:37 pm
Re: Asset Entry Module (1 replies, posted in Items and Inventory)
Increase the thread_stack parameter value from the current 128K to 192 K for 32 bit systems or 256 K for 64 bit systems.
http://stackoverflow.com/questions/2919558/mysql-servers-thread-stack-parameter-what-is-it-how-big-should-it-be
http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html
You will need to set it in the my.cnf or my.ini or .my.cnf file under the [mysqld] stanza and restart the mysqld process/server.
thread_stack=196608
4,948 10/06/2014 06:47:42 pm
Re: Annual Expense Breakdown Accounts (9 replies, posted in Reporting)
You need to modify the file reporting/rep705.php by seeing if the "if" wrapper is needed in lines 146 to 156:
//Display Type Summary if total is != 0 OR head is printed (Needed in case of unused hierarchical COA)
if ($printtitle)
{
$rep->row += 6;
$rep->Line($rep->row);
$rep->NewLine();
$rep->TextCol(0, 2, _('Total') . " " . $typename);
for ($i = 1; $i <= 12; $i++)
$rep->AmountCol($i + 1, $i + 2, ($total[$i] + $ctotal[$i]) * $convert, $dec);
$rep->NewLine();
}
4,949 10/06/2014 06:37:33 pm
Re: SOAP Web Service (14 replies, posted in Modules Add-on's)
Does this still work in FA v2.3.22?
4,950 10/06/2014 06:30:11 pm
Re: bank import module (14 replies, posted in Modules Add-on's)
That's great! See if you can extend it to importing customers as well or make another one for it.