Jump to content

upgrade to 4.5


raeyo

Recommended Posts

I succesfully did the upgrade to 4.5 (from 4.2) and everything is running smoothly.

 

Only issue I have is that the € signs after amount / subtotal amount etc... in my pdfinvoice are gone.

 

Does anyone know how and where I can place the currency back in there?

 

--

 

Tried to edit this line from invoicepdf.tpl and place the currency but seems not to be working.

 

$pdf->Cell(40,7,$subtotal,1,0,'C','1');

 

 

Thnx in advance

Link to comment
Share on other sites

I would guess you are using iso-8859-1 in WHMCS? In that case any special character in your PDF invoice will be gone, like reported here: http://forum.whmcs.com/showthread.php?t=38382

 

This didn't help. I have a customized invoice template (pdf) but even if I upload the original one, problem persist.

 

Anyone can explain how to add "€" after the amounts?

 

$pdf->MultiCell(40,$rowcount * 5,$item['amount'],1,'C',0,0);

Link to comment
Share on other sites

I was trying to tell you it is a bug. If you are using iso-8859-1 in WHMCS, then any special characther will not display in your PDF invoice, including € - it's already there, you just can't see it. It is a bug.

Link to comment
Share on other sites

Ah.. thnx Ditto.

 

In the meantime I did a workaround.

 

I replaced

 

$pdf->Cell(140,7,$_LANG["invoicessubtotal"],1,0,'R','1');

 

with

 

$pdf->Cell(140,7,$_LANG["invoicessubtotal"].' '.€.'',1,0,'R','1');

 

...now thats for the amount but for the other items like subtotal, credit and total I have to fix this code

 

$pdf->Cell(40,7,$total,1,0,'C','1');

 

(not succeeded yet)

 

 

... in the meantime waiting for the bugfix.

Link to comment
Share on other sites

  • WHMCS CEO

There's no reason why this shouldn't still be working. The TCPDF class has been upgraded to their latest version but that's the only change. Double check the font settings and try re-entering your currency in Setup > Currencies.

 

Matt

Link to comment
Share on other sites

  • 4 weeks later...

Hi Matt

 

We have the same problem?

 

After the upgrade we lost all our special characters in our invoices. BIG Problem!

 

We have even tried to install different characters to the font folder with out any luck?

 

Please advise what to do, i looks really unprofessional when we send invoices!

 

Please advise

Link to comment
Share on other sites

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated