11-19-2017, 11:05 PM,
(This post was last modified: 11-20-2017, 03:30 AM by VortecCPI.)
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
Logo Size Issue / Form Edit for Invoice and Quotation
Just checking to be sure...
I made the logo a maximum of 170 x 80 and it collides with the word "Quotation".
Is there a form editor for Quotations and/or Invoices? Any idea as to why I am seeing this issue with a properly-sized logo?
I tried a little experiment by resizing the logo.jpg file and the PDF still shows the large logo. It appears the system is using the first logo I uploaded, which was way too big.
This has got to be a simple mistake on my part. What am I missing?
https://www.linkedin.com/in/eclipsepaulbecker
|
|
11-20-2017, 04:00 AM,
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
RE: Logo Size Issue / Form Edit for Invoice and Quotation
UPDATE...
Thought the documentations states logo size of 170 x 80 the PDF generation code inserts the logo at 60 height and thus scales the image.
I believe what I may be seeing here is the difference between A4 format and Letter format.
I will stat on it and share as I discover...
https://www.linkedin.com/in/eclipsepaulbecker
|
|
11-20-2017, 10:52 PM,
(This post was last modified: 11-20-2017, 11:07 PM by VortecCPI.)
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
RE: Logo Size Issue / Form Edit for Invoice and Quotation
Thank you Phil. That is where I was working but I was just wondering if we had the same soft of slick editing ability like we have with the other Form Designer XML-based documents.
The only comment I now have is that there are a few inconsistencies between Landscape and Portrait font sizes and text positions in the Sales Quotation PDF code. I also do not see a column for UoM so I need to add that as well.
It also appears Tax is shown both at the line item and then again as a total so it is being show twice but only added once.
No complaints here... Just making sure I understand...
https://www.linkedin.com/in/eclipsepaulbecker
|
|
11-21-2017, 02:34 AM,
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
RE: Logo Size Issue / Form Edit for Invoice and Quotation
Tim - Thank you for additional input.
As a long-time coder I am okay with altering the PHP code but for others this may not be the case. I am quite surprised to hear you got pushback on the XML-based Forms Designer. I happen to like it very much, especially for novice users.
I actually considered extending the code base to add an XML template for Invoices and Sales Orders but time will not permit me to do this right now. We have people selling products so getting webERP ready to fulfill orders is number one priority along with tidying up SuiteCRM. After that comes an integration between the two so Sales Orders can be generated in SuiteCRM and then picked up by webERP for fulfillment. Not sure if I will use phpxmlrpc or my own middleware as have done so many times in the past. A few years ago I created my own API to to manage data between Anuko, BOLD, MantisBT, and our OO data system and it worked great.
And one more little comment with respect to Quotations / Sales Orders PDF output...
We will have T&C clause at the bottom of the Quotation / Sales Order (via Comments) and it does not produce proper line breaks so I will have to work on that a little bit...
https://www.linkedin.com/in/eclipsepaulbecker
|
|
11-22-2017, 12:47 AM,
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
RE: Logo Size Issue / Form Edit for Invoice and Quotation
Tim & Phil,
In my opinion both of you are correct within a given context. As an experienced coder (since 1983) I have no issue editing the PHP files. They are well written and easy to decipher thanks to good guidelines and practices used by the developers of webERP. I always look to the PHP code as a last resort to be sure I fully understand other configuration variables that may play into what I see when using webERP. If I know I must modify the code I do so as required to meet our needs. In this case I can alter the PHP code faster than I can alter the XML-based Form Designer so it is economical in my context.
On the other hand... A person who does not have coding experience would really appreciate the XML-based Form Designer. If the report is not XML-based he or she must acquire a developer and every change to a PHP report requires scheduling of, and a payment to, the developer. In that case the Form Designer saves time and money. If the webERP user is a startup or small business every hour and every dollar saved can mean a lot.
As an S-CORP owner involved in many startups I can see where both scenarios come into play. In this particular case I am one of the owners of the startup so modifying the code is no problem. Before I was on board the other owners would have had to define and fund a budget to implement webERP. Funding would not have been a big issue but time to delivery would have proved daunting to the business.
Reporting differences aside what is under the covers of webERP is quite impressive so far and I thank you both for all your hard work...
https://www.linkedin.com/in/eclipsepaulbecker
|
|
|