If you manually include the necessary files, you will not need composer. Also the Slim3 version of index.php will need to have the array syntax reverted for use in PHP < 5.4
901 11/12/2019 05:30:04 pm
Re: Creating Invoice through REST API (14 replies, posted in Accounts Receivable)
902 11/12/2019 06:10:13 am
Re: Fiscal years (2 replies, posted in Setup)
Check the fiscal years table in phpmyadmin.
903 11/12/2019 06:09:26 am
Re: Direct Invoice > Price Before Tax (5 replies, posted in Accounts Receivable)
Sales => Maintenance => Sales Types => Use the Tax Incl checkbox as needed.
904 11/12/2019 06:02:15 am
Re: Creating Invoice through REST API (14 replies, posted in Accounts Receivable)
Done. Thanks.
905 11/11/2019 05:00:29 pm
Re: Creating Invoice through REST API (14 replies, posted in Accounts Receivable)
You probably missed the json_decode line in fabridge.php file at near the end:
$content = ($code == "200") ? json_decode($content, true) : false;
906 11/11/2019 01:38:03 pm
Re: Creating Invoice through REST API (14 replies, posted in Accounts Receivable)
My test was on browser only. Check your PHP.ini settings in CLI and in webserver for any differences.
The CLI output for php check.php is:
"{\"trans_type\":\"10\",\"ref\":\"NoGuia0001\",\"customer_id\":\"78\",\"branch_id\":\"78\",\"location\":\"DEF\",\"deliver_to\":\"ABC, S.A. DE C.V.\",\"delivery_date\":\"2019\\\/11\\\/09\",\"delivery_address\":\"Karachi\",\"order_date\":\"09\\\/11\\\/2019\",\"phone\":\"\",\"cust_ref\":\"\",\"comments\":\"\",\"ship_via\":\"1\",\"payment\":\"1\",\"sales_type\":\"1\",\"items\":[{\"stock_id\":\"2801\",\"description\":\"iPhone\",\"qty\":\"1\",\"price\":\"100\",\"discount\":\"0\"},{\"stock_id\":\"2802\",\"description\":\"Samsung\",\"qty\":\"1\",\"price\":\"100\",\"discount\":\"0\"}]}"
907 11/11/2019 01:30:51 pm
Re: Problem in stock_movements.php Inquiry (2 replies, posted in Report Bugs here)
Using PHP 5.3.1 on XAMPP 1.7.3, there is no erroneous duplicate for your transaction.
Check your PHP version and settings.
Verify with PHP 5.3.6 / 7.0 before reporting errors.
908 11/11/2019 01:11:23 pm
Re: Creating Invoice through REST API (14 replies, posted in Accounts Receivable)
This is possibly a PHP version problem - which version are you using?
In PHP v5.3.1 on XAMPP 1.7.3 on WInXP SP3, the following was output for: echo json_encode($data, true);:
"{\"trans_type\":\"10\",\"ref\":\"NoGuia0001\",\"customer_id\":\"78\",\"branch_id\":\"78\",\"location\":\"DEF\",\"deliver_to\":\"ABC, S.A. DE C.V.\",\"delivery_date\":\"2019\\\/11\\\/09\",\"delivery_address\":\"Karachi\",\"order_date\":\"09\\\/11\\\/2019\",\"phone\":\"\",\"cust_ref\":\"\",\"comments\":\"\",\"ship_via\":\"1\",\"payment\":\"1\",\"sales_type\":\"1\",\"items\":[{\"stock_id\":\"2801\",\"description\":\"iPhone\",\"qty\":\"1\",\"price\":\"100\",\"discount\":\"0\"},{\"stock_id\":\"2802\",\"description\":\"Samsung\",\"qty\":\"1\",\"price\":\"100\",\"discount\":\"0\"}]}"
909 11/11/2019 10:11:27 am
Re: Creating Invoice through REST API (14 replies, posted in Accounts Receivable)
You have used the same subscript for both items. Try the following:
$data = json_encode(array(
'trans_type' => '10',
'ref'=> 'NoGuia0001',
'customer_id'=> '78',
'branch_id'=> '78',
'location'=> 'DEF',
'deliver_to'=> 'ABC, S.A. DE C.V.',
'delivery_date'=> '2019/11/09',
'delivery_address'=> 'Karachi',
'order_date'=> '09/11/2019',
'phone'=> '',
'cust_ref'=> '',
'comments'=> '',
'ship_via'=> '1',
'payment'=> '1',
'sales_type'=> '1',
'items'=> array
(
array
(
'stock_id'=> '2801',
'description'=> 'iPhone',
'qty'=> '1',
'price'=> '100',
'discount'=> '0'
),
array
(
'stock_id'=> '2802',
'description'=> 'Samsung',
'qty'=> '1',
'price'=> '100',
'discount'=> '0'
),
),
));
910 11/11/2019 04:11:20 am
Re: Replacement for Fiscal Years admin function (3 replies, posted in Modules Add-on's)
Generally this is a one time correction best done in the FA DB directly instead of an extension unless many moons have passed with lots of transactions that need to be tinkered with!
911 11/11/2019 04:10:00 am
Re: Direct Invoice > Price Before Tax (5 replies, posted in Accounts Receivable)
Check Company Setup for settings on tax mode
912 11/11/2019 04:07:52 am
Re: recurring invoices - period (4 replies, posted in Accounts Receivable)
913 11/11/2019 03:58:00 am
Re: Error when printing to Excel (2 replies, posted in Banking and General Ledger)
914 11/10/2019 05:10:22 am
Re: FA - Update to latest version + Customization (1 replies, posted in Jobs wanted/offered, non-free offers)
Anyone attempting this work will atleast need to do the following:
1. Take a diff of the existing codebase with the plain vanilla FA v2.3.22 - this will have the site specific changes as well as the customisation changes.
2. Study the schema changes between the backedup exisiting install and the new one in FA 2.3.26.
3. Some customisations will have been assimilated into FA 2.3.26 or FA 2.4.7+ already.
4. After incorporating the customisations into the attached FA 2.3.26 changed files, do an upgrade after taking files and sql backups.
5. If all works fine, then do the same for FA 2.4.7+ with schema and data changes necessary by referring the various sql and php DB updates necessary present in the sql folder in FA 2.4.7+.
6. Make adjustments to the sysprefs table and config.php as necessary.
Goodluck!
915 11/10/2019 04:56:49 am
Re: Reconciliation Bank Account (3 replies, posted in Wish List)
Possibly restrict the display to be one less to one more than the date specified and take it from there for now. If a strict enforcement is necessary, then a "date <= reconcile date" will need to be implemented. State the URL where this occurs. The existing one takes all unreconciled transactions which is correct.
Refer doc/bank_reconciliation.txt.
916 11/09/2019 09:15:22 am
Re: Front Accounting buggy in Chrome (8 replies, posted in Report Bugs here)
Your version of Chrome Browser is 78.0.x - see if an update / downgrade is in order - check if popups are enabled in it's settings, if not put in exceptions for FA site.
Alternatively try FireFox.
What OS are you using for the client side?
917 11/09/2019 08:44:44 am
Re: Front Accounting buggy in Chrome (8 replies, posted in Report Bugs here)
Depends on wordpress version. Generally it should only affect some plugins.
You can also use a specific version of PHP for each application - ask your sysadmin if it is a hosting company / corporate environment.
918 11/09/2019 07:56:00 am
Re: Front Accounting buggy in Chrome (8 replies, posted in Report Bugs here)
PHP v7.3.x is not fully supported without tweaks to it's settings.
Try PHP 5.6.x or PHP 7.0 / 7.1.
919 11/09/2019 07:53:43 am
Re: When selecting customer at popup window, gave error message (1 replies, posted in Report Bugs here)
Change the setting in config.php to be:
$no_check_edit_conflicts = 1;
920 11/09/2019 07:42:25 am
Re: Approval System for GL Postings Demo and SourceCode (30 replies, posted in FA Modifications)
@joe: Can integrate the Approvals System into atleast FA 2.5.
921 11/09/2019 07:40:30 am
Re: Front Accounting buggy in Chrome (8 replies, posted in Report Bugs here)
Which version of FA are you using and which PHP/MySQL versions are dissing out FA?
922 11/09/2019 07:39:20 am
Re: Installation problem (24 replies, posted in Installation)
Try with XAMPP v1.7.7 first.
923 11/09/2019 07:35:46 am
Re: Sales Order / Delivery Note - quantity stays at zero (3 replies, posted in Report Bugs here)
Firstly, you are using a very old version of FA. The last version in the FA 2.3.x series is FA 2.3.26 which may have addressed some of the issues till then.
Secondly, check if the PHP / MySQL version in your server has changed and if so, as to have it reverted to the older version in which your FA version was stable.
If you are technically handicapped, take professional assistance by posting your bounty in the Jobs board.
924 11/09/2019 07:32:59 am
Re: Project Management Extension (24 replies, posted in Modules Add-on's)
Take it from https://github.com/apmuthu/FA24extensions/tree/master/Extensions/kanban
925 11/09/2019 07:28:29 am
Re: Fixed Asset - Process Depreciation (12 replies, posted in Fixed Assets)
You have credited and debited the same account!