Jump to content

[SOLVED]Problem with pdf 1.2.5 currency and product title in pdf in 1.3.2


Recommended Posts

That worked for me, i tried this code also and it also works for me.

   static private function convertSign($s)
   {
       return html_entity_decode(htmlentities($s, ENT_NOQUOTES, $from), ENT_NOQUOTES, 'UTF-8');
   }


Does your currency have special sign like € ?

  • Like 1
Link to comment
Share on other sites

It's work with dollar and pound, but not with euro. so instead of dollar or pound, in administration panel i write my currency and now it's work :) i don't now, why it's not working with euro.
thank you :)

I have another question. in the bottom of invoice, there is incorect page counting. Before i change pdf language, it was ok.
thank you

24001_ZZ2bx2p55w1WrlbW6Lt7_t

Link to comment
Share on other sites

In PDF.php replace

        $this->Cell(190, 5, ' '."\n".'P. '.$this->GroupPageNo().' / '.$this->PageGroupAlias(), 'T', 1, 'R');


with

        $this->Cell(190, 5, 'P. '.$this->GroupPageNo().' / '.substr($this->PageGroupAlias(),3,-1), 'T', 1, 'R');


to display correct page number in footer.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...
  • 11 months later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...