Compare any dashboard type theme (like canvas / dropdown) files with the AdminLTE and make the necessary images / css changes as needed.
977 10/01/2019 04:05:47 pm
Re: Email not working in FA (8 replies, posted in Report Bugs here)
https://gist.github.com/Dreyer/2958946
https://conetix.com.au/support/simple-php-mail-test/
978 10/01/2019 04:04:04 pm
Re: Looking for FA Developer (2 replies, posted in Jobs wanted/offered, non-free offers)
State what language interface you use so that you can get the appropriate developer and what bounty you offer.
979 09/30/2019 03:37:31 pm
Re: Problem with Inventory Valuation Report Sub-store (9 replies, posted in Reporting)
We need to pinpoint the version / build date when it last worked as desired and not as in the policy stated now. Only then can a diff show what needs to be reverted if desired even if it violates espoused design policy.
980 09/30/2019 03:35:45 pm
Re: Standard Cost Changes and as such result to Negative Profit in Report (28 replies, posted in Items and Inventory)
Inventory Sales Report is rep304.php and it works fine at my end in both Windows and Linux on PHP 5.3.1 and 5.3.3 respectively. State your PHP version and other versions and which FA version you are on.
981 09/30/2019 03:58:27 am
Re: Inventory Valuation Report: location filter problem (3 replies, posted in Items and Inventory)
982 09/30/2019 03:57:02 am
Re: Problem with Inventory Valuation Report Sub-store (9 replies, posted in Reporting)
When all was okay for rep301.php in v2.4.4, and now it is amiss, what lines changed in 2.4.7 to make it "correctly conforming to this new policy"?
FA 2.4.7 was released on 2019-06-25.
FA 2.4.4 was released on 2019-03-17.
rep301.php was last modified on 2019-06-24
Prior to 2.4.4, rep301.php was modified on 2017-12-09.
Hence a diff between then and now would prop up some leads. Ignoring all whitespace and comment changes, the effective diff is attached.
983 09/25/2019 03:48:52 pm
Re: Importing inventory items using CSV (4 replies, posted in Items and Inventory)
State version of Apache/PHP/MySQL/Platform/FA.
Check apache and FA error logs.
Turn on debug if necessary in the config.php file.
984 09/18/2019 06:09:29 am
Re: erorr report (15 replies, posted in Reporting)
Using barcode reader to get the stock codes into FA does not require any integration in FA since a barcode reader is just a keystroke pump into the keyboard buffer.
The real need is to generate a new barcode report to accomodate your 13 digit barcodes.
985 09/18/2019 06:00:38 am
Re: Payroll & Human Resource Management. (216 replies, posted in Modules Add-on's)
The current translation for ar_EG is available at Transifex and is also attached here.
Your po file is for a boxygen theme codebase and has different formatting for certain strings.
986 09/18/2019 05:56:43 am
Re: missing en_US.po file, nowhere to be found (8 replies, posted in Setup)
The generated PHP file is for windows users who do not have a useable GD library due to different way that windows recognises locales. It is a fallback for those who cannot use the newer php GD library in FA. Some js related double escaped strings cause problems here.
987 09/17/2019 04:21:40 pm
Re: Payroll & Human Resource Management. (216 replies, posted in Modules Add-on's)
Remove the Google sign-in for downloading the file.
988 09/17/2019 04:17:23 pm
Re: missing en_US.po file, nowhere to be found (8 replies, posted in Setup)
The necessary ANSI files are at:
https://github.com/apmuthu/FA24extensions/tree/master/Languages/en_US
Also attached here.
989 09/17/2019 05:29:48 am
Re: Session Error Message (13 replies, posted in Report Bugs here)
Browser based cache is different from session cache dished out from the server and used in the intermediary processing scripts thereat. Cookies may store such session cache if poorly designed. Having totally server side processing only without transmission of session variable values and avoiding any hidden fields may be the way forward though it may warrant multiple page navigations to and forth.
990 09/17/2019 05:26:14 am
Re: Sales Type Based On Cost? (6 replies, posted in Accounts Receivable)
Create an unused "Retail Cost" Sales Type and do not use it for invoicing. Instead, create a "Sales" Sales Type and mark it up as a "cost-plus" selling price and use it for sales invoicing.
991 09/16/2019 05:29:36 pm
Re: Sales Type Based On Cost? (6 replies, posted in Accounts Receivable)
Will the Retail / Wholesale not do?
992 09/16/2019 05:22:35 pm
Re: Vietnamese core language strings fully translated for FA 2.4.x (4 replies, posted in Translations)
If you are using Linux Server, then you must install the language in the OS also.
We use:
dpkg-reconfigure --frontend=noninteractive locales
update-locale en_US ISO-8859-1 en_US.UTF-8 UTF-8 ta_IN hi_IN ar_EG.UTF-8
Add your language as appropriate.
Latest zip attached.
993 09/14/2019 01:17:11 pm
Re: Slim REST API module for FA 2.4.x - No Composer (18 replies, posted in Modules Add-on's)
@braathwaate: Good one indeed.
Make sure the /tmp folder exists and is writeable.
The $$ is the PID (Process ID) of the shell which is expected to be random for that session.
Wiki-ed it.
994 09/14/2019 07:17:30 am
Re: Slim REST API module for FA 2.4.x - No Composer (18 replies, posted in Modules Add-on's)
1. create a script to use the API as in the wiki.
2. Add in code to specify the shebang line at the top for CLI execution and set the php.ini settings for FA in it.
3. now execute it manually to see if the recurring invoices script works.
Otherwise, just take a backup of the FA SQL and execute a manual recurring invoice and compare with the later backup of FA sql and see what changed and write a simple bash / php script to get it done and put it into the crontab of any linux server or on windows use VisualCRON or Task Scheduler.
995 09/14/2019 06:22:51 am
Re: new report (2 replies, posted in Reporting)
You will either need to use a user defined Pivot function / procedure or make a php function to assemble a sql like it and then create a FA report to display it.
You want Item Category, User Sum for each user across the page.
A nice report indeed - An Item category Wise Customer Sales listing. Start by modifying Item Sales Summary Report - rep309.php.
Specify if you want Qty, Inv Amount or both to be summed.
Raw SQL (ST_SALESINVOICE=10 as defined in includes/types.inc):
SELECT dd.stock_id
, dd.description
, dt.debtor_no
, dm.`name` AS debtor
, SUM(dd.quantity) AS TotQty
, SUM(dd.quantity * dd.unit_price) AS TotAmount
FROM 1_debtor_trans_details dd LEFT JOIN 1_debtor_trans dt
ON (dd.debtor_trans_no = dt.trans_no AND dd.debtor_trans_type = dt.`type`)
LEFT JOIN 1_debtors_master dm USING (debtor_no)
WHERE dd.debtor_trans_type=10
GROUP BY dd.stock_id, dt.debtor_no;
Sample output (debtor name omitted for space, date filters can be incorporated in the WHERE clause, adjust table prefix as appropriate):
stock_id description debtor_no TotQty TotAmount
101 iPad Air 2 16GB 1 21 6300
102 iPhone 6 64GB 1 5 1250
102 iPhone 6 64GB 2 1 222.62
103 iPhone Cover Case 2 1 44.52
202 Maintenance 1 5 0
26138763 Bucket 1 3 18
301 Support 1 3 240
95006000 Billiard Balls 1 5 54
The real PIVOT sample SQL for the training company will be:
SELECT IFNULL(stock_id, 'Totals') AS stock_id
, description
, IF(debtor_no=1, TotQty, 0) AS `Qty - Donald Easter LLC`
, IF(debtor_no=1, TotAmount, 0) AS `Amt - Donald Easter LLC`
, IF(debtor_no=2, TotQty, 0) AS `Qty - MoneyMaker Ltd.`
, IF(debtor_no=2, TotAmount, 0) AS `Amt - MoneyMaker Ltd.`
FROM (
SELECT dd.stock_id
, dd.description
, dt.debtor_no
, dm.`name` AS debtor
, SUM(dd.quantity) AS TotQty
, ROUND(SUM(dd.quantity * dd.unit_price),0) AS TotAmount
FROM 1_debtor_trans_details dd LEFT JOIN 1_debtor_trans dt
ON (dd.debtor_trans_no = dt.trans_no AND dd.debtor_trans_type = dt.`type`)
LEFT JOIN 1_debtors_master dm USING (debtor_no)
WHERE dd.debtor_trans_type=10
-- AND dt.trans_date between '2018-05-10' and '2019-01-21'
GROUP BY dd.stock_id, dt.debtor_no
) a GROUP BY stock_id
WITH ROLLUP;
996 09/14/2019 06:08:06 am
Re: erorr report (15 replies, posted in Reporting)
If you do not want to display the error then just comment out the entire if construct. If you do it the way you stated, then the error string will print for valid barcodes only!
997 09/14/2019 05:59:29 am
Re: Slim REST API module for FA 2.4.x - No Composer (18 replies, posted in Modules Add-on's)
@boxygen: Thanks.
Done and updated the zips as well.
This change occurred when it was ported to FA 2.4 when all capitals and hyphen came into effect. In FA 2.3 it the way it was with lower and upper case and underscore as well.
For those using FA 2.3, make sure it is the way it was earlier.
998 09/11/2019 04:28:54 pm
Re: Support for views in backup (2 replies, posted in FA Modifications)
The problem will come when the db user does not have rights to create / alter views during restoration. Submit your code hack for the devs to see how to incorporate them. This could be useful for all lookup tables bundled into one with filtered views.
999 09/11/2019 04:27:13 pm
Re: erorr report (15 replies, posted in Reporting)
What are you trying to do? Just suppress all barcode errors or have it display errors when there is no error?
1,000 09/11/2019 04:17:52 pm
Re: Cannot retrieve exchange rate for currency USD as of 09/09/2019 (10 replies, posted in Report Bugs here)
UGX is available in ExchangeRates.org (1) whilst Indian Rupee is available in it as well as in ECB (0).