Nice work @barbarian. How does the code size compare?
Can anyone explain what the reporting/forms folder is for? We need to update the wiki on this score.
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Posts by apmuthu
Nice work @barbarian. How does the code size compare?
Can anyone explain what the reporting/forms folder is for? We need to update the wiki on this score.
@joe: will this need to be implemented in the core with an appropriate flag / if statement?
To avoid code bloat the various libraries are not being used. Also "old" does not mean "bad" and "new" does not have to mean "good". Users are free to extend the existing classes to suit their needs and submit it for peer review. Native rendering of TCPDF / FPDI makes for smaller PDF files rather than HTML to PDF conversions. Make a separate extension of your library using DOMPDF and the community will be the richer. Make for a simple meta template for reports and have any plugin library render the reports.
Typo?
x-frame-options SAMEORIGIN
Send out the header using PHP:
<?php
header("X-Frame-Options: SAMEORIGIN");
?>
In .htaccess:
Header append X-FRAME-OPTIONS "SAMEORIGIN"
(or)
Header append X-FRAME-OPTIONS "DENY"
Search by Ajax should be okay.
@joe: good for the core?
The functions supplier_credit_rowand customer_credit_row() are defined in includes/ui/ui_input.inc in lines 982-1004.
The link for the supplier_credit_row() is like:
purchasing/inquiry/supplier_inquiry.php?supplier_id=###
The actual value of $credit is being passed into the said functions from/by the calling script which in this case appears to be twice the value it should report..
The supplier_credit_row() is called in:
purchasing/includes/ui/po_ui.inc line 145 (function display_po_header(&$order)):
supplier_credit_row($order->supplier_id, $order->credit);
purchasing/includes/ui/invoice_ui.inc line 160 (function invoice_header(&$supp_trans)):
supplier_credit_row($supp_trans->supplier_id, $supp_trans->credit);
@joe: ??
The module must be accessed only through the index.php in the FA webroot. Provide a template of your module access URL.
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
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.
@tom: Updated osc_orders extension in GitHub FA24extensions repo.
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!
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': {
@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.
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.
FrontAccounting forum → Posts by apmuthu
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.