Keep one report request field for print language and use it to fetch the preferential language elements in a set of defines and read off the appropriate translation array. Alternatively, put in some report specific translation strings in the .po / .mo files for gettext.
377 03/30/2022 03:35:16 am
Re: How to round total selling price from $1,499.94 to $1,500 (7 replies, posted in Items and Inventory)
Add .06 as shipping cost.
378 03/30/2022 03:33:04 am
Re: Add QR Code into invoice (9 replies, posted in Jobs wanted/offered, non-free offers)
Would you like to share the code so that it can be added to the core?
379 03/25/2022 02:55:49 pm
Re: Email Invoice heading 2.4.11 (11 replies, posted in Reporting)
It appears that you have upgraded from FA v2.3.x to 2.4.x and in the latter, the reference number template has been expanded and does not follow the defaults of the older version.
As the Invoice number cannot be looked up or there is some hiccup in the debtors_master.
380 03/25/2022 02:54:58 pm
Re: Email Invoice heading 2.4.11 (11 replies, posted in Reporting)
It appears that you have upgraded from FA v2.3.x to 2.4.x and in the latter, the reference number template has been expanded and does not follow the defaults of the older version.
As the Invoice number cannot be looked up or there is some hiccup in the debtors_master.
381 03/13/2022 05:56:57 am
Re: translatable string typo - Amount ot be settled: (2 replies, posted in Translations)
There is a duplicate of this translation string after typo correction that needs to be removed and the line number appended to the first one.
https://github.com/apmuthu/frontac24/commit/3934434612e12a8cfa9e9bb768b15d04ce445106#diff-465628ddde1c50a790501494b783e03db9b036aca42a922e5afe0c25396e5a3f
382 03/12/2022 01:47:36 pm
Topic: translatable string typo - Amount ot be settled: (2 replies, posted in Translations)
Amount ot be settled: => Amount to be settled:
File: purchasing/allocations/supplier_allocate.php:62
and in empty.po too.
383 03/12/2022 05:59:42 am
Re: Donation Receipt (3 replies, posted in Banking and General Ledger)
Sell Donation tickets.
384 03/09/2022 04:26:28 am
Re: Printing to cups-lpd enabled queue fails (9 replies, posted in Setup)
Check if there exists an IP to URL linkage in etc/hosts where localhost might clash with actual IP.
385 03/09/2022 03:48:32 am
Re: Cannot download repo index file (57 replies, posted in Installation)
My unofficial github repo is only for the extension files and fixes. Only the official extensions are supported in a default install.
386 03/09/2022 03:46:57 am
Re: Email Invoice heading 2.4.11 (11 replies, posted in Reporting)
What did you upgrade and check if there are any sys_prefs or config.php variables that were missed out.
387 03/09/2022 03:40:42 am
Re: FA consultant needed (1 replies, posted in Setup)
The said link has been updated with alternative Internet Archive links for Singapore.
You can also refer my unofficial repo at:
https://github.com/apmuthu/frontac24
https://github.com/apmuthu/FA24extensions
388 02/17/2022 04:21:07 am
Re: Dynamic url for pages (2 replies, posted in Wish List)
This is how the API module works. Try SlimAPI or anyother REST API solution.
389 02/17/2022 04:19:20 am
Re: MYSQL 8 ERROR (on Ver 2.3.25) (2 replies, posted in Accounts Payable)
0_grn_batch.delivery_date has a DEFAULT of 0000-00-00 which is acceptable in MySQL 5.x but in MySQL 8, a setting in the my.ini is necessary to override it's rejection.
A dumb solution would be:
SET sql_mode = 'allow_invalid_dates';
Alternatively in /etc/my.cnf, add the following:
sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
and restart MySQL.
References:
https://gokhan.ozar.net/blog/how-to-fix-incorrect-datetime-value-mysql-mariadb/
https://dba.stackexchange.com/questions/20638/dates-changed-to-0000-00-00
https://developpaper.com/problems-with-mysql-8-0-13-setting-date-0000-00-000000/
390 02/05/2022 12:25:38 am
Topic: Typo in translatable string - Purchable Total (1 replies, posted in Report Bugs here)
In the file includes/dashboard.inc (line 239) and it's counterpart in lang/new_language_template/LC_MESSAGES/empty.po, the string Purchable Total should be Purchasable Total.
391 01/26/2022 02:15:50 pm
Re: Add QR Code into invoice (9 replies, posted in Jobs wanted/offered, non-free offers)
The Invoice Number alone should suffice as a GET parameter to get the other details from the FA Database and generate the payment link in FA as a QRCode. If all the details are to be provided, then it should be encrypted so as not to be atleast easily spoofable.
Also, the QRCode can be parsed for data or have a url encoded info that can be clickable.
392 01/26/2022 02:10:43 pm
Re: Supplier invoice, GL items doesn't update until refresh (3 replies, posted in Report Bugs here)
Update your FA codebase with bleeding edge fixes by using the GitMaster.
393 01/25/2022 03:18:12 am
Re: login repeats with every click (15 replies, posted in Report Bugs here)
On http call, a check if https exists and if so an appropriate https redirection in FA would be good.
394 01/25/2022 03:09:48 am
Re: Are we sure the Contact delete works properly (7 replies, posted in Report Bugs here)
Suppliers and CRM Contacts fixed.
395 01/25/2022 03:00:25 am
Re: Missing function 'delete_image' when trying to delete an Item (5 replies, posted in Report Bugs here)
The committed fix now renames the function del_image to delete_image as used in the codebase. The re-run of the commit now changes the usage to del_image and rolls back the function name change.
This error in coding occurred as the earlier function name was used as the $_POST variable from the form.
Such usages are in some extensions as well - additional_fields and fronthrm but mostly as $_POST variables.
396 01/24/2022 05:00:06 am
Re: login repeats with every click (15 replies, posted in Report Bugs here)
Effective workaround to use the newer commit only for https and not for http:
Replace hardcoded line 14 of includes/session.inc:
define('SECURE_ONLY', true);
to be
define('SECURE_ONLY', (parse_url($_SERVER['REQUEST_URI'], PHP_URL_SCHEME) == 'https'));
This way newer installs will not break when not using https. The last few times, the released versions seem to have some showstopper for existing users. This will only make existing users especially on legacy systems not to upgrade as that would warrant "consultant costs". FA should herd and retain it's flock as that is where the network wealth of the project lies - bulk satisfied standard users who can upgrade atleast in minor versions safely.
397 01/24/2022 03:02:04 am
Re: Missing function 'delete_image' when trying to delete an Item (5 replies, posted in Report Bugs here)
@joe: Kindly fix this.
398 01/24/2022 03:01:05 am
Re: FrontAccounting SaaS Sellers (2 replies, posted in Announcements)
Add another option for Education / Training purposes.
399 01/24/2022 02:59:29 am
Re: login repeats with every click (15 replies, posted in Report Bugs here)
It is then better not to be hardcoded as a define but dynamically computed if https is in the URL. As it stands after the current commit, we still need to set the define manually.
400 01/23/2022 04:03:12 pm
Re: Missing function 'delete_image' when trying to delete an Item (5 replies, posted in Report Bugs here)
Looks like it should be del_image instead of delete_image.
The function is defined in inventory/manage/items.php at 59 to 67:
function del_image($stock_id)
{
foreach (array('jpg', 'png', 'gif') as $ext) {
$filename = company_path().'/images/'.item_img_name($stock_id).".".$ext;
if (file_exists($filename) && !unlink($filename))
return false;
}
return true;
}