Forum Replies Created
-
AuthorPosts
-
fearless359
KeymasterYou 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, 10 months ago by
fearless359.
fearless359
KeymasterIn 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, 11 months ago by
fearless359.
-
This reply was modified 2 years, 11 months ago by
fearless359.
fearless359
KeymasterThanks for the appreciation. Please update to the latest version and see if the problem remains. If so, I can then work it.
fearless359
KeymasterModified 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.
fearless359
KeymasterI 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.
fearless359
KeymasterThe 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.
fearless359
KeymasterI 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.
fearless359
KeymasterI 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.
fearless359
KeymasterFor some reason, this text box didn’t like my long instructions. So I put them in the attached file. Download the attached zip file, and read the FixInstructsions.txt file in it.
Attachments:
January 9, 2021 at 5:44 am in reply to: How to keep/save bill type as Invoice and qoute seperately #1300fearless359
KeymasterIt works if your set up is correct. You need to have an Inv Prefs record set up and enabled with a description set to the invoice type (aka Quote) that you want to set up. I’ve attached images to show set up and help info.
The inv_number_starting_point shows the setup instructions in the How To… section on the left.
The inv_pregs (should be inv_prefs) the invoice preference set up I have on my test system.
The inv_pref_quote_edit shows the edit screen for the Quote type preference I have set up on my test system.
The inv_pref_numbering_group shows the help information on the Invoice numbering group field of the Inv Prefs record.
The inv_edit shows the edit screen for an invoice of type Quote on my test system. Note the drop down and how it shows the enabled Inv Prefs to select from.By far the most complex part of the set up is if you want quotes (or other invoice types) numbered in a different sequence than the standard Invoice types. The set up for this is manual and uses the si_index table in the database.
fearless359
KeymasterPlease provide a screen shot of this. I can’t seem to recreate it.
fearless359
KeymasterIn the si_system_defaults table, what is the value of the record with name “payment_type”?
Is there a record in the si_payment_types table with a “pt_id” value equal to the “value” of the record in the si_system_defaults table?
June 4, 2020 at 8:50 am in reply to: Fatal Error when using multiple emails in To field (when sending invoice) #902fearless359
KeymasterI don’t have a PHP v7.1 environment to test master_2019.1 in. My recommendation is that you upgrade to PHP v7.2x or later and then use master_2019.2. I test this and it handles the multiple emails with semi-colon seperator just fine.
June 3, 2020 at 8:17 am in reply to: Fatal Error when using multiple emails in To field (when sending invoice) #899fearless359
KeymasterExtract the Email.php file from the attached zip archive into the Inc/Claz directory replacing the version you currently have. See if this helps.
Attachments:
June 3, 2020 at 6:53 am in reply to: Fatal Error when using multiple emails in To field (when sending invoice) #895fearless359
KeymasterHow are you entering two emails. I just tried it for the “Email To” line and it worked fine. Entry form is first email address, a semi-colon, second email address. Example:
foo@foo.com;bar@bar.com
-
This reply was modified 2 years, 10 months ago by
-
AuthorPosts





Recent Comments