Jump to content

[FIXED] PDF - Problem


Recommended Posts

did you check the code in your phpconfig.php

 

foreach ($invoiceitems AS $item) {
       if (strlen($item["description"])>90) {
               $pdf->Cell(148,6,substr($item["description"],0,90),1);
               $pdf->Cell(40,6,$currencysymbol." ".$item["amount"]." ",1,0,'R');
               $pdf->Ln();
               $pdf->Cell(148,6,substr($item["description"],90),1);
               $pdf->Cell(40,6,"",1,0,'C');
       } else {
               $pdf->Cell(148,6,$item["description"],1);
               $pdf->Cell(40,6,$currencysymbol." ".$item["amount"]." ",1,0,'R');
       }
       $pdf->Ln();
}

Link to comment
Share on other sites

i encountered this issue also, all the invoice content is going over the tables/margins

 

i have a custom pdfconfig.php and it started to look awkward right after the upgrade

 

from what i noticed: the invoices after the upgrade are having the footer working: "page 1/1"

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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