Forum Replies Created
-
AuthorPosts
-
fearless359Keymaster
There is no export.pdf.screensize parameter. And the export.pdf.papersize name should be changed to exportPdfPaperSize.
Here are the parameters I use for your reference:
exportSpreadsheet = xls exportWordProcessor = doc exportPdfDefaultFontSize = 10 exportPdfPaperSize = Letter exportPdfLeftMargin = 5 exportPdfRightMargin = 5 exportPdfTopMargin = 5 exportPdfBottomMargin = 5
Hope this helps.
fearless359KeymasterThe currency sign is €. The currency code is EUR. You can get this info from the help info for each field in the Inv Prefs option of the Settings tab.
- This reply was modified 1 year, 1 month ago by fearless359.
- This reply was modified 1 year, 1 month ago by fearless359.
- This reply was modified 1 year, 1 month ago by fearless359.
fearless359KeymasterIn the schema you attached, the following is the id settings in si_invoice_items:
CREATE TABLE si_invoice_items ( id int(10) NOT NULL AUTO_INCREMENT,
It should be:
CREATE TABLE si_invoice_items ( id int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
If the table is set correctly, then the update process should complete as it did once I made the change. Note, you can change the field setting manually in phpMyAdmin by selecting the Change option on the id column under the Structure tab when si_invoice_items is selected.
- This reply was modified 1 year, 1 month ago by fearless359.
fearless359KeymasterVia phpMyAdmin, access the si_invoice_items table and execute the following SQL command:
ALTER TABLE si_invoice_items MODIFY id INT(11) UNSIGNED NOT NULL;
Had to dig, but issue is that the invoice_item_id field in the si_invoice_item_tax table is configured differently than the id field in the si_invoice_items table. This command corrects the issue.
- This reply was modified 1 year, 1 month ago by fearless359.
- This reply was modified 1 year, 1 month ago by fearless359.
fearless359KeymasterRefer to the Globalization Support topic in the menu of the left.
fearless359KeymasterFYI, your password recovery directions to another forum user, were excellent. I hadn’t thought of it before. I tested it and other than some template warnings related to not having a role name stored for the user’s session, it works. So I just delivered an update that fixes the warnings and formalized recovery procedures in the How To menu section.
fearless359KeymasterI’m working on it.
fearless359KeymasterYou can change the min and max length fields in the template for the screen. Ex: templates/default/billers/edit.tpl or create.tpl. However, this should be done as an extension so that it isn’t lost when you update. Extension info can be found in the Extension section on the left.
However, the intent of this size if to support the ISO 3166-1 Alpha 3 code for countries. Which might be added as a validation in the future.
- This reply was modified 2 years ago by fearless359.
fearless359KeymasterIn the si_sql_patchmanager table, what is the greatest value of the sql_patch_ref field? It should be 335 and the sql_statement should contain,
INSERT INTO
si_system_defaults
(name ,value ,domain_id ,extension_id ) VALUES ('invoice_display_days', 0, 1, 1);If so, then the invoice_display_days row should be the last item in the si_system_defaults table. Make sure you are looking at all the records in the file. Default is to display 25 record but this one is the 44th row. You can sort the table by the name field to make the entries in alpha order.
Also, did you download the most current si version? The version # should be 2020.4.5. Click on the About option in the top menu line to see the version or get it from the config/config.ini file.
- This reply was modified 2 years ago by fearless359.
- This reply was modified 2 years ago by fearless359.
fearless359KeymasterThanks for the appreciation. Please update to the latest version and see if the problem remains. If so, I can then work it.
fearless359KeymasterModified si_system_defaults access functions to force an integer value returned by functions that require int type return values. This is now available in v2020.4.5.
Verify that the invoice_display_days value is numeric in the si_system_defaults table. If it is and you continue to get this failure, download the new version and see if that helps.
fearless359KeymasterI have update the Version Update Process instructions on the left, menu to explain the update process from old SI version such as 2011.1 to the current version. This needs to be done by first updating to the master_2019.2 version and then to the current master_2020 version. Let me know if you have questions about these instructions.
fearless359KeymasterThe logic uses DataTables ajax with deferred rendering to make initial display as fast as possible. On my windows development system I get about a 3 second lapse to display the first page of invoices from a 550 total table. I don’t have a larger table to work with. On my production system that is hosted for me on a shared Linux server, there is about 1 second added to the display time. In either case, if after displaying the first page, I select the option to display the last page, there is no latency in the display on either system.
This is what I would expect give that the ajax display copies all the invoice data from the server to the browser when the initial page is displayed. The deferred rendering simply allows the first page of the data to be rendered and displayed while the logic continues to render the rest of the data in preparation for display.
Without more data to test with, I can’t give you comparative results. You might look at increasing your cache size. Also having an SSD rather than HDD can speed things up also.
The bottom line is that the bulk of the processing time for you page is on the client, not the server. Speed up the client and you should have better results.
fearless359KeymasterI haven’t needed to do this, but it seems that you can make your own invoice template folder and in the css file, specify the fonts you want to use. Possible using the the @font-face declaration.
fearless359KeymasterI think you need to contact your shared hosting support. If you have access to cpanel for your site, you might look to see if you have a program to specify the version of php. Check it and their might be a list of checkbox items that you can enable and intl should be in there.
There is not practical was to replace the NumberFormatter class. It is standard PHP and should be something your hosting service supports.
-
AuthorPosts
Recent Comments