@joe: ??

1,127

(5 replies, posted in Setup)

The module must be accessed only through the index.php in the FA webroot. Provide a template of your module access URL.

1,128

(5 replies, posted in Setup)

Check if php is enabled for the said folder and file ownerships are okay for the webserver process.

Use the non-minified version of the js file and debug it.
See:
https://stackoverflow.com/questions/16266440/typeerror-match-is-not-a-function
https://stackoverflow.com/questions/38557550/uncaught-typeerror-function-is-not-a-function

1,130

(10 replies, posted in Setup)

Start with a Chart of Accounts with no demo data like en_US-new.sql.
Modify it in phpMyAdmin or any MySQL client tool to have your initial defaults.
Otherwise, create your own new chart here and place it in the sql folder in FA.

@Geir: As your partner runs his own company, how will you know about his sales invoices to bill him your commission? If he sends you a sales statement each month, then you can invoice him the 10% as a normal direct invoice.

Setup Tab => User Accounts Setup => Make your Partner a new user with Access Role as "Salesman".
Sales Tab => Sales Persons => Add your Partner as a Sales Person with 10% Commission.
Login as the Salesman (Your Partner) and generate Sales Invoices. Commissions on all such invoices will now be credited to your partner.

Check rep106.php - Customers: Salesman Listing.

A base commission % till a certain threshold amount of sales per invoice and then the balance is computed as a second percentage.

Salesman Commission.

1,134

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

@tom: Updated osc_orders extension in GitHub FA24extensions repo.

1,135

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

Isn't it time govts stopped interfering with businesses?
Americans should not vote for such reps who try to bully businesses.
Any place is just as rich as the number of goods and services available to it and such laws are not making it conducive for it either.
Why should brick-and-mortar shops complain - they too can go the internet way even if delivering to their neighborhood!

The following make for good reading:

https://www.cpapracticeadvisor.com/sales-tax-compliance/article/12402391/the-future-of-the-online-sales-tax-part-1
https://www.cpapracticeadvisor.com/sales-tax-compliance/article/12402389/the-future-of-the-online-sales-tax-part-2
https://www.avalara.com/taxrates/en/blog/2014/07/future-internet-sales-tax-internet-tax-freedom.html
https://www.brookings.edu/blog/up-front/2018/07/16/the-history-and-future-of-the-retail-sales-tax/
Sales Tax base has been shrinking and the ST Rate has been increasing!

1,136

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

Update 6th May, 2019 (same link as above): SB 1112 died in Appropriations. It appears that Florida won't be taxing remote sales any time soon.

@janusz: any improvements to the core with dynamic setting of watermark attributes?

Does this have anything to do with it's line 213 onwards:

function addText($xb,$yb,$size,$txt)//,$angle=0,$wordSpaceAdjust=0)

Line 4478 of tcpdf.php has watermark as part of unfinished coding:

case 'watermark': {

Image as background in TCPDF

Add Watermark using TCPDF

@joe: want to add it into the core?

Hope you restarted your webserver after editing php.ini file.

@joe: Tnx. Removing it out entirely on being disabled. Greying out is easier understood.

SitePoint Discussion:

No, there is no download size limit setup. In general, download file size is not restricted. You can HTTP-download the file of any size.

Only Timeout settings need to be looked into.

Maybe as advised in the above discussion, it may be pertinent to place the following header in the download code:

header ('Content-length: '.filesize($fileToSendPath));

The flatcolor2 theme - Navigate to Sales => Transactions and we cannot click Sales Quotation Entry menu item.

Check where you took the snippet from and do a WinMerge compare for diffs and see if there are any syntax / sequence order issues for the lines of code.

The function display_notification() is defined in includes/ui/ui_msgs.inc and needs to be included in your script if not already loaded by some other included script.

The second argument in the said function defaults to true anyway and can be omitted in the second call.

The FA Login with

user_name_entry_field
password
company_login_name

gets posted to itself (index.php) which includes the session file (includes/session.inc) that checks if a session exists and if not, includes the  login form (access/login.php).

It is in the last file referred to above that you will need to create a secondary hook for your dual authorisation using a special unique session variable as a flag.

1,147

(10 replies, posted in Development)

Please add "bin" for warehouse stock.

Also this one for tax info.

Use SMS OTP to generate a dynamic password valid for that session only directly in the db - maybe an extra field in the use record.

@poncho1234's PurV1 theme: Whilst the font sizes are okay and the menus have no clutter, it may cause issues during remote desktop refreshes.

Unlike @kvvaradha's theme, @poncho1234's theme is not yet available for download and local testing.

@poncho1234: Yes, it is @kvvaradha's theme from the link he provided. If your PuroV1 is elsewhere, please provide the link.

@kvvaradha: I tested out on 1440x900 and had to scroll.