851

(2 replies, posted in Reporting)

The whitespace matched modified rep107.php file is attached in your post.

The page size is hard coded as "A6" and a few new functions added  - get_company_detailss(), admin_company_path(), print_header(), print_table_header().

This can also be used to link to other applications like CRM, etc.

853

(12 replies, posted in Fixed Assets)

@joe: is this warranted?

854

(18 replies, posted in Wish List)

The form field needs to be saved into a new field or be part of the memo field and parsed accordingly as well to fill in the cheque and memo form fields accordingly.

855

(1 replies, posted in Modules Add-on's)

The cheque number can form start of the memo field possibly prefixed with a "#" to extract while processing custom reports.

856

(12 replies, posted in Fixed Assets)

Did you change the code? The above code is identical with that in the repo.
What did you do differently now that it works?

857

(12 replies, posted in Fixed Assets)

Your Transaction number is negative. How did that happen?

This looks okay with the sysprefs variable on a per company basis changeable at will anytime without affecting past and future transactions. Consider the situation where we wish to jump the sequence and move forward a few numbers and later come back to fill in the missing ones. Check if this will mitigate it.

Logic change - replace the line:

if (!$increase || !is_new_reference($this->reference, $this->trans_type)) 

with:

else

since the !is_new_reference($this->reference, $this->trans_type) is already there in the outer if construct.

859

(8 replies, posted in Translations)

The da_DK language was last updated on 2017-07-30 and is attached here.

860

(4 replies, posted in FA Modifications)

Using heavy libraries in JS would bloat the FA code. Create your own theme based on any standard theme and modify it to your hearts content.

Read the Wiki (API Page) and search the forums.

Use https://www.OpenSourcePOS.org/ and integrate it with SlimAPI.

Width?

Choose a smaller Font size.
Shorten your Item names.
Choose one of the standard widths offered by TCPDF library and alter your report files.

864

(24 replies, posted in Modules Add-on's)

Contact the respective extension authors (refer the init/config file in each extension) stating your server's PHP/MySQL and FA versions.

MySQL 5.7+ zero Date settings can be read in this post.

Check the zero date time settings - strict dates in your MySQL / PHP and TimeZone settings being different in Server and client browser. Turn on debug in config.php and see what shows up.

Otherwise, choose PHP 5.6.x in FastCGI.

Hope you are using the FA 2.4.7+ GitMaster version.
There were some Void file changes recently.

Attempting a Customer Payment and Voiding it results in the SQL changes in the attachment.
The said sql is abstracted from a plain vanilla install of FA 2.4.7+ (latest Git Master).

Try this on a copy of your installation and see if the results match.

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

870

(2 replies, posted in Setup)

Check the fiscal years table in phpmyadmin.

Sales => Maintenance => Sales Types => Use the Tax Incl checkbox as needed.

Done. Thanks.

You probably missed the json_decode line in fabridge.php file at near the end:

$content = ($code == "200") ? json_decode($content, true) : false;

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\"}]}"

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.