Blesta Addons Posted July 20, 2019 Report Posted July 20, 2019 when we send invoices manually via email from admin side, the first page of sent PDF has logo, but other pages has no logo . the logo only appear in first page . Quote
Tyson Posted July 22, 2019 Report Posted July 22, 2019 Does the logo appear on all pages if you "View" the invoice (i.e. download it)? Viewing the invoice produces the same PDF as is sent by email. I tested this myself a minute ago and it is working correctly for me. Quote
Blesta Addons Posted July 23, 2019 Author Report Posted July 23, 2019 16 hours ago, Tyson said: Does the logo appear on all pages if you "View" the invoice (i.e. download it)? Viewing the invoice produces the same PDF as is sent by email. I tested this myself a minute ago and it is working correctly for me. i'm not talking about 1 invoice with multiple pages. i'm talking about sending multiple invoices (more than one with the deliver via email from admin side) . to test, create two invoices for client, from client profile, select this two invoice then deliver them via email . the first invoice has logo, the second invoice without logo . Quote
Blesta Addons Posted July 23, 2019 Author Report Posted July 23, 2019 to be more clear, I'm talking about the PDF attached to the email sent. Quote
Tyson Posted July 23, 2019 Report Posted July 23, 2019 I just tried testing that myself by sending 2 invoices from a client profile in the admin UI. Both invoices in the invoices.pdf file display my logo and background. What settings do you have set? I tested with these settings: Logo: JPG Background: JPG Paper size: Letter Invoice Template: Default Font family: dejavusanscondensed Terms: (none) Display on invoice: all checkboxes checked Have you tried using a different logo image? If so, does the logo appear then? Quote
Paul Posted July 23, 2019 Report Posted July 23, 2019 @Blesta Addons can you duplicate this on a fresh install of Blesta on the same server? That could confirm or rule out a PHP / server side issue. Quote
Blesta Addons Posted July 23, 2019 Author Report Posted July 23, 2019 6 hours ago, Tyson said: What settings do you have set? I tested with these settings: Logo: PNG Background: PNG Paper size: Letter Invoice Template: Default Font family: dejavusanscondensed Terms: (none) Display on invoice: all checkboxes checked Have you tried using a different logo image? If so, does the logo appear then? test with the same settings with only the logo in PNG . the background are showed in all Pdf Pages, only the logo is shown in the first page . Quote
Blesta Addons Posted July 23, 2019 Author Report Posted July 23, 2019 5 hours ago, Paul said: @Blesta Addons can you duplicate this on a fresh install of Blesta on the same server? That could confirm or rule out a PHP / server side issue. Tested in two server now with the same result . Installed Version 4.5.2 EDIT: tested now in third server for our dev test with the same result, the Logo only appear in first page. Quote
Blesta Addons Posted July 23, 2019 Author Report Posted July 23, 2019 with a jpeg logo, the logo appear in all page, only png is not shown in all pages !!! Quote
Paul Posted July 24, 2019 Report Posted July 24, 2019 16 hours ago, Blesta Addons said: with a jpeg logo, the logo appear in all page, only png is not shown in all pages !!! I was able to confirm https://dev.blesta.com/browse/CORE-3228 activa 1 Quote
Blesta Addons Posted July 24, 2019 Author Report Posted July 24, 2019 2 minutes ago, Paul said: I was able to confirm https://dev.blesta.com/browse/CORE-3228 ? Quote
Tyson Posted July 24, 2019 Report Posted July 24, 2019 The issue is a bug with TCPDF. See here. They have not yet included a fix in TCPDF. You could fix this in your installation by updating /vendors/tecnickcom/tcpdf/tcpdf.php:6849 by commenting out the "return false": if (!@TCPDF_STATIC::file_exists($file)) { return false; } to if (!@TCPDF_STATIC::file_exists($file)) { //return false; } Note: I did not investigate what, if any, issues may arise because of this work-around. I would consider updating Blesta to include a downgraded version (v6.2.19) of TCPDF for the last known working copy except that a security vulnerability was fixed in the same patch release as this issue. activa 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.