Jump to content

Recommended Posts

Posted

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.

Posted
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 .

 

Posted

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?

Posted
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 .

 

Posted
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.
 

 

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...