Unless the Ajax submit specifically restricts variable passing, in general, all $_POST / $_GET elements will be sent in to maintain state with the form at hand and be available globally. Any other variables needed inside of any function must suitably be brought in as arguments or be declared global with it.
1,226 03/25/2019 04:54:00 am
Re: Variables display but empty values sent to database (9 replies, posted in FA Modifications)
1,227 03/24/2019 03:21:32 am
Re: How can i update my Arabic Language (12 replies, posted in Translations)
All strings in your screenshot are already there in the po file and hence in the mo file. The official repo provides ar_EG v2.4.1-3 but my repo provides ar_EG v2.4.3-1. This will need to be changed in the lang/installed_languages.inc file as well if manually updated.
See attachment for all strings properly translated.
The ar_EG language is part of the Transifex translations from where one can take the latest translations.
1,228 03/24/2019 02:22:04 am
Re: Variables display but empty values sent to database (9 replies, posted in FA Modifications)
Check scope and visibility of the variables concerned at the place where they should be available. Also check the case sensitivity of the parameters passed in for comparison.
1,229 03/23/2019 04:57:01 pm
Re: How can i update my Arabic Language (12 replies, posted in Translations)
Making translation changes to the .po file and then compiling the official FA strings into a .mo file and replacing them in the FA language folder will make the changes visible possibly after a restart of the webserver.
Have a look at the compiled versions in the FA24extensions repo for ar_EG.
1,230 03/23/2019 03:10:09 pm
Re: How can i update my Arabic Language (12 replies, posted in Translations)
The only Arabic translation in FA for now is the Egyptian version - ar_EG.
Unless the original string is in the empty.po, it is not referred to in the FA codebase.
empty.po should not be ordinarily edited.
A copy of the empty.po is taken and translated for each language.
If you are making a new module, then keep the language files for it in it's codebase and not in the FA core.
1,231 03/23/2019 01:54:39 pm
Re: Variables display but empty values sent to database (9 replies, posted in FA Modifications)
Must you have to urlencode the link?
1,232 03/23/2019 01:52:59 pm
Re: How can i update my Arabic Language (12 replies, posted in Translations)
There is no "Current Assets" (Google Translated الأصول الحالية) string in the official language template empty.po.
1,233 03/22/2019 03:50:58 pm
Re: Can we remove Help section from FA all pages (1 replies, posted in Setup)
Set the following variable in config.php:
$help_base_url = null;This will suppress the Help link on the top right menu.
1,234 03/22/2019 03:39:10 pm
Re: Sales Direct Invoice has due_date and delivery_date bug (15 replies, posted in Report Bugs here)
@joe: are we using a stale session here?
1,235 03/17/2019 04:11:44 pm
Re: where can i find this get_trans_view_str function? (6 replies, posted in FA Modifications)
These are for CSS Styling classes. If the function argument is a scalar, then it goes into an array and if an array it is passed on as is.
1,236 03/17/2019 04:00:31 am
Re: The POS (22 replies, posted in Accounts Receivable)
@kvvaradha: good show. Try to make for paying up balances using a link on the POS listing.
Also can convert woff2 files to ttf if needed and make it locally available using:
https://everythingfonts.com/woff2-to-ttf
1,237 03/17/2019 03:34:42 am
Re: No edit in supplier invoice quick entry (11 replies, posted in Banking and General Ledger)
@joe: is it to be added in the core?
1,238 03/17/2019 03:30:17 am
Re: where can i find this get_trans_view_str function? (6 replies, posted in FA Modifications)
There is no Array to String conversion here. The heading elements are in the array and are iterated through for display.
1,239 03/15/2019 02:39:20 am
Re: where can i find this get_trans_view_str function? (6 replies, posted in FA Modifications)
includes/ui/ui_view.inc
1,240 03/09/2019 01:53:08 pm
Re: Need to Edit Sales Invoice (13 replies, posted in Accounts Receivable)
Do not choose to inventorise the items used for service business. There are separate service business Charts (for USA / AU) in the FA24extensions repo.
1,241 03/08/2019 05:31:38 am
Re: What are Document Date: and Event Date: in journal entries for? (6 replies, posted in Banking and General Ledger)
# Booking the expense in 2018
2018-12-31: Commissions Payable Account Cr $1000 (a Balance Sheet Account)
2018-12-31: Commissions Expenses A/c - for the Year 2018 for Specific Salesman: Dr. $1000 (a P&L Expense Account)
# Making the decision to pay the commission if other conditions of service are fulfilled
2019-03-01: Commissions Payable Account Dr $1000
2019-03-01: Salesman A/c - Commissions due to Specific Salesman: Cr $1000 (a Balance Sheet Account)
# Making the payment from the bank account to the beneficiary salesman
2019-03-15 (or 01): Salesman A/c - Amount paid to Specific Salesman: Dr $1000
2019-03-15 (or 01): Bank Account - Check issued to Specific Salesman: Cr $1000 (a Balance Sheet Bank Account)1,242 03/06/2019 05:16:08 pm
Re: looking for a real estate module (1 replies, posted in Modules Add-on's)
Agents are Salesmen in FA.
Properties are product items for sale or use recurring billing for leases.
1,243 03/06/2019 05:14:56 pm
Re: FA for real estate transactions (1 replies, posted in FA Modifications)
Rudimentary contacts CRM is available in FA. Create each customer and edit it to add contacts. Also look at pre-paid transactions, advances and allocations on billing.
1,244 03/06/2019 05:13:24 pm
Re: How to add different item type in item module (1 replies, posted in FA Modifications)
Make a different set of BOM for your choice if alternate items can be used.
1,245 03/06/2019 05:12:18 pm
Re: A non-numeric value encountered in \includes\date_functions.inc (4 replies, posted in Report Bugs here)
@joe: should this be included? Never seen such a date format in practical use though!
1,246 03/06/2019 05:07:03 pm
Re: Payment reference number reset (3 replies, posted in Banking and General Ledger)
Which version did you upgrade from?
FA 2.3.x had a normal non-pattern plain numbering system. You may have to mimic the old numbering system.
1,247 03/04/2019 03:50:17 pm
Re: Textcart module (31 replies, posted in Modules Add-on's)
@elax: awaiting the updated version.
1,248 03/04/2019 03:37:24 pm
Re: Line 1369 in en_US-demo.sql can be removed (4 replies, posted in Misc. Charts of Accounts)
The following should do the job:
sed -e 's/AUTO_INCREMENT=[0-9]* //g' -i sql/en_US-demo.sql
sed -e 's/AUTO_INCREMENT=[0-9]* //g' -i sql/en_US-new.sql1,249 03/03/2019 05:24:15 pm
Re: Line 1369 in en_US-demo.sql can be removed (4 replies, posted in Misc. Charts of Accounts)
Line 1950 needs to be PRIMARY KEY:
UNIQUE KEY `record_id` (`record_id`,`tag_id`)Check in en_US-new.sql also.
1,250 03/03/2019 04:34:10 pm
Topic: Line 1369 in en_US-demo.sql can be removed (4 replies, posted in Misc. Charts of Accounts)
@joe: Please check if line 1369 in en-US-demo.sql is necessary - it is dated in 2012:
('1', '0', '001/2012'),There are many long char fields that should actually be varchar.
All AUTO_INCREMENT=XXX strings can be removed.
